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
..
2013-04-02 00:11:22 -04:00
2013-08-10 10:37:35 -07:00
2013-04-25 03:53:54 -05:00
2013-08-03 21:46:30 -04:00
2013-04-02 00:11:22 -04:00
2013-08-03 21:46:30 -04:00
2013-08-03 21:46:30 -04:00
2013-08-03 21:46:30 -04:00
2013-08-03 21:46:30 -04:00
2013-04-20 16:55:23 +03:00
2012-02-25 22:44:09 -06:00
2013-08-06 18:00:38 -07:00
2013-04-04 17:00:26 -07:00
2013-08-03 21:46:30 -04:00
2013-08-03 21:46:30 -04:00
2013-08-03 21:46:30 -04:00
2013-04-02 00:11:22 -04:00
2013-05-16 04:41:09 -05:00
2013-04-25 06:06:12 -05:00
2013-04-02 00:11:22 -04:00
2013-04-02 00:11:22 -04:00
2012-03-11 13:12:19 -07:00
2013-05-16 04:41:09 -05:00
2013-01-22 15:09:24 -06:00
2011-12-25 16:02:30 +01:00
2013-08-03 21:46:30 -04:00
2012-01-29 11:10:40 +01:00
2013-01-22 15:09:24 -06:00
2012-01-29 11:10:40 +01:00
2012-01-29 11:10:40 +01:00
2013-04-09 23:55:57 +02:00
2012-06-03 05:40:54 -05:00
2013-04-02 00:11:22 -04:00
2013-08-03 21:46:30 -04:00
2012-07-29 02:34:09 -05:00
2012-01-29 11:10:40 +01:00
2013-08-03 21:46:30 -04:00
2012-02-29 16:07:47 -06:00
2013-07-01 05:50:24 -05:00
2012-04-29 21:09:57 -04:00
2012-02-29 20:08:40 -05:00
2013-04-02 00:11:22 -04:00
2012-01-15 11:58:03 +00:00
2012-10-31 01:01:45 -04:00
2012-03-31 08:35:59 -05:00
2013-08-03 21:46:30 -04:00
2012-12-20 17:46:21 -05:00
2013-04-02 00:11:22 -04:00
2013-04-02 00:11:22 -04:00
2011-12-25 16:02:30 +01:00
2012-03-05 12:29:09 -05:00
2012-03-11 13:12:19 -07:00
2012-12-17 01:16:28 -06:00
2013-08-03 21:46:30 -04:00
2012-12-07 14:19:01 -05:00
2013-08-03 21:46:30 -04:00
2013-04-02 00:11:22 -04:00
2012-08-02 08:55:11 -05:00