Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debuffs affect players in Creative Mode #4

Open
MinerB4 opened this issue Apr 16, 2022 · 4 comments
Open

Debuffs affect players in Creative Mode #4

MinerB4 opened this issue Apr 16, 2022 · 4 comments

Comments

@MinerB4
Copy link

MinerB4 commented Apr 16, 2022

While in a Creative Multiplayer world me and another user left the world online for the night (irl), when we came back we had a lot of debuffs. A fix for this would be to test for a player's current gamemode, if it's Survival or Adventure (or not Creative and not Spectator) then the rules of the mod will apply, when a player is in Creative or Spectator the rule will pause until the user is no longer in Creative or Spectator mode.

@NebelNidas
Copy link
Member

Sorry for the late reply, I've been busy IRL lately. Good catch, should be an easy fix! :)

@NebelNidas
Copy link
Member

Should be fixed by 8c479ca

@NebelNidas
Copy link
Member

Please try out 0.6.0!

@NebelNidas
Copy link
Member

Although only partly, when you're in creative/spectator mode for a long time and switch back to survival, you'll still get a long debuff period. This is due to Minecraft's Time since last slept stat counting up nevertheless, we might have to replace it with our own custom solution in the future to avoid this issue

@NebelNidas NebelNidas reopened this Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants