Paper/nms-patches/EntityMinecartCommandBlockListener.patch
2014-11-28 11:23:19 +00:00

11 lines
591 B
Diff

--- ../work/decompile-8eb82bde//net/minecraft/server/EntityMinecartCommandBlockListener.java 2014-11-28 11:22:55.950823163 +0000
+++ src/main/java/net/minecraft/server/EntityMinecartCommandBlockListener.java 2014-11-28 11:01:54.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() {