High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
Bukkit/Spigot 4389f8eaaf Use command block's world for /gamerule. Fixes BUKKIT-3274
In vanilla, gamerules are global, across all worlds. Maps created for
vanilla that use command blocks expect this behavior, which is broken
when they are placed on a world that is not the default world (world #0).

This commit changes that by using the command block's current world when
executing the command, forcing the game rules executed to be executed in
the world the command block is currently in.

By: Kane York <rikingcoding@gmail.com>
2013-08-10 10:37:35 -07:00
paper-api Use command block's world for /gamerule. Fixes BUKKIT-3274 2013-08-10 10:37:35 -07:00