Paper/nms-patches/EntityMinecartCommandBlockListener.patch
Thinkofdeath 24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00

11 Zeilen
590 B
Diff

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