summaryrefslogtreecommitdiffstats
path: root/src/test/java/org
diff options
context:
space:
mode:
authorKane York <rikingcoding@gmail.com>2013-08-10 10:37:35 -0700
committerTravis Ralston <travpc@gmail.com>2013-08-21 00:08:50 -0600
commit94daac860a0a1314652df34567e6c80c5127ef9f (patch)
tree43aacbc5b62fa2a760b58b78c5de16e9d79d9635 /src/test/java/org
parented364a7ef7c093ed26e41f9695a23d20778160af (diff)
downloadbukkit-94daac860a0a1314652df34567e6c80c5127ef9f.tar
bukkit-94daac860a0a1314652df34567e6c80c5127ef9f.tar.gz
bukkit-94daac860a0a1314652df34567e6c80c5127ef9f.tar.lz
bukkit-94daac860a0a1314652df34567e6c80c5127ef9f.tar.xz
bukkit-94daac860a0a1314652df34567e6c80c5127ef9f.zip
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.
Diffstat (limited to 'src/test/java/org')
0 files changed, 0 insertions, 0 deletions