diff options
Diffstat (limited to 'nms-patches/EntityMinecartCommandBlock.patch')
-rw-r--r-- | nms-patches/EntityMinecartCommandBlock.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nms-patches/EntityMinecartCommandBlock.patch b/nms-patches/EntityMinecartCommandBlock.patch new file mode 100644 index 00000000..1b6e4048 --- /dev/null +++ b/nms-patches/EntityMinecartCommandBlock.patch @@ -0,0 +1,12 @@ +--- /home/matt/mc-dev-private//net/minecraft/server/EntityMinecartCommandBlock.java 2015-02-26 22:40:22.627608139 +0000 ++++ src/main/java/net/minecraft/server/EntityMinecartCommandBlock.java 2015-02-26 22:40:22.627608139 +0000 +@@ -3,6 +3,9 @@ + public class EntityMinecartCommandBlock extends EntityMinecartAbstract { + + private final CommandBlockListenerAbstract a = new CommandBlockListenerAbstract() { ++ { ++ this.sender = (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity(); // CraftBukkit - Set the sender ++ } + public void h() { + EntityMinecartCommandBlock.this.getDataWatcher().watch(23, this.getCommand()); + EntityMinecartCommandBlock.this.getDataWatcher().watch(24, IChatBaseComponent.ChatSerializer.a(this.k())); |