PaperMC/paper-server/nms-patches/EntityMinecartCommandBlockListener.patch
CraftBukkit/Spigot a419776f3c Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-26 08:32:16 +11:00

10 lines
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() {