When clicking on the Allow Commands button in the World Options screen, it changes the permissions that the current user has. The user needs to have commands turned on to edit the game rules. When enabling/disabling commands, it doesn’t immediately change the state of the Edit Game Rules button. This can lead to an endless loading screen if commands were enabled when opening the World Options screen, the user turned them off and then clicked on the Edit Game Rules button.
Steps to reproduce:
Create a new world with commands off
Open the World Options screen and turn commands on
Notice how the Edit Game Rules button stays disabled
Close the World Options screen and reopen it
Turn commands off
Click on the Edit Game Rules button and notice the endless loading screen
Expected Behavior:
The state of the Edit Game Rules button should change as the permissions the current player has changes. When the user has commands disabled, the button should be disabled. When the user has commands enabled, the button should be enabled.
Observed Behavior:
The state of the Edit Game Rules button become out of sync with the permissions of the player when the player changes whether commands are enabled on the World Options screen.
Thank you for helping us improve Minecraft! We saved your files: