Paper/nms-patches/EntityMinecartCommandBlockListener.patch

11 Zeilen
591 B
Diff

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