PaperMC/nms-patches/EntityMinecartCommandBlockListener.patch
Thinkofdeath 90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00

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