summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityMinecartCommandBlockListener.patch
blob: 7581585ce451ab150c04b94f5a98baa86874e30c (plain)
1
2
3
4
5
6
7
8
9
10
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityMinecartCommandBlockListener.java	2014-11-28 17:43:43.133707434 +0000
+++ src/main/java/net/minecraft/server/EntityMinecartCommandBlockListener.java	2014-11-28 17:38:18.000000000 +0000
@@ -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() {