summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityMinecartCommandBlockListener.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityMinecartCommandBlockListener.patch')
-rw-r--r--nms-patches/EntityMinecartCommandBlockListener.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nms-patches/EntityMinecartCommandBlockListener.patch b/nms-patches/EntityMinecartCommandBlockListener.patch
new file mode 100644
index 00000000..ccfa4973
--- /dev/null
+++ b/nms-patches/EntityMinecartCommandBlockListener.patch
@@ -0,0 +1,10 @@
+--- ../work/decompile-bb26c12b/net/minecraft/server/EntityMinecartCommandBlockListener.java 2014-11-27 08:59:46.709421812 +1100
++++ src/main/java/net/minecraft/server/EntityMinecartCommandBlockListener.java 2014-11-27 08:42:10.088851036 +1100
+@@ -6,6 +6,7 @@
+
+ EntityMinecartCommandBlockListener(EntityMinecartCommandBlock entityminecartcommandblock) {
+ this.a = entityminecartcommandblock;
++ this.sender = (org.bukkit.craftbukkit.entity.CraftMinecartCommand) entityminecartcommandblock.getBukkitEntity(); // CraftBukkit - Set the sender
+ }
+
+ public void h() {