Paper/nms-patches/EntityMinecartCommandBlockListener.patch

11 lines
591 B
Diff
Raw Normal View History

--- ../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() {