#In LAN multiplayer, the host is not frozen during time stop even if not a time stop user.
1 messages · Page 1 of 1 (latest)
I think its because you're OP
uh OP = Operator incase you dont know
since you hosted the world and it has cheats enabled it makes you an OP
Thanks!
I will try lan without an OP.
I tried testing it again in survival mode without OP privileges, but I was still able to move the camera during the time stop.
To remove OP, I edited the world’s "level.dat" file to disable cheats at the world level.
Also, when opening to LAN, I made sure cheats were turned off.
it is how minecraft works
you have to host a remote server
Thanks!
I think I may have found the cause of the issue.
This problem seems to be caused by the canPlayerMoveInStoppedTime(player, checkEffect) method in the TimeStopHandler class.
public static boolean canPlayerMoveInStoppedTime(PlayerEntity player, boolean checkEffect) { return checkEffect && player.hasEffect(ModStatusEffects.TIME_STOP.get()) || gamemodeIgnoresTimeStop(player) || player instanceof ServerPlayerEntity && ((ServerPlayerEntity) player).server.isSingleplayerOwner(player.getGameProfile()); }
Due to the following condition, the LAN host player (as a ServerPlayerEntity) always receives true from canPlayerMoveInStoppedTime:
player instanceof ServerPlayerEntity && ((ServerPlayerEntity) player).server.isSingleplayerOwner(player.getGameProfile())
anyway, stando has said that he knows about it and it is nearly unfixable in order to prevent majorier bugs
I see, I didn’t know it was already known.
It’s a bit disappointing that it’s difficult to fix, but I understand if it’s to avoid major issues.
Thank you very much for explaining it to me so clearly.
yeah, for players who aren't supposed to see in stopped time, it forces the game client to pause. but when it's done to the LAN host, their client proceeds to save the game every tick, which causes massive lag