mojira.dev
MC-301574

The spawnMonsters game rule does not take effect when switched

Steps to reproduce:

  1. Create a world with commands enabled

  2. Run /gamerule spawnMonsters false

  3. Run /time set night

Observed results:

  • Monsters spawn

Expected results:

  • Monsters do not spawn

Attachments

Comments 2

Unable to reproduce, the game rule works as expected for me.

The game rule seems to only take effect after reloading the world

slicedlime

Shugoh

Confirmed

Platform

Important

Commands, Mob spawning

25w35a

Retrieved