06-28-2013, 10:06 PM
I thing know I know what is the cause of the error.
Latest time I happened it happened doing this:
-Going from survival world to creative world (Gamemode = 0 + 1 = 1)
-Set (in creative world) gamemode to survival (Gamemode = 1 - 1 = 0)
-Go from creative world to survival world (Gamemode = 0 -1 = -1)
-I can't get pickups.
So I think the bug is because when changing gamemode in MCServer, if changing to creative Gamemode in json is set to +1 and if changing to survival is set to -1.
But, what happens if changing 2 times to survival? (1 - 2= -1)
The error can be fixed setting Gamemode to 0 or 1 in json but this error shouldn't happen. Please try to fix it.
Latest time I happened it happened doing this:
-Going from survival world to creative world (Gamemode = 0 + 1 = 1)
-Set (in creative world) gamemode to survival (Gamemode = 1 - 1 = 0)
-Go from creative world to survival world (Gamemode = 0 -1 = -1)
-I can't get pickups.
So I think the bug is because when changing gamemode in MCServer, if changing to creative Gamemode in json is set to +1 and if changing to survival is set to -1.
But, what happens if changing 2 times to survival? (1 - 2= -1)
The error can be fixed setting Gamemode to 0 or 1 in json but this error shouldn't happen. Please try to fix it.