summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityCommand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityCommand.patch')
-rw-r--r--nms-patches/TileEntityCommand.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/nms-patches/TileEntityCommand.patch b/nms-patches/TileEntityCommand.patch
new file mode 100644
index 00000000..8cf33a77
--- /dev/null
+++ b/nms-patches/TileEntityCommand.patch
@@ -0,0 +1,12 @@
+--- /home/matt/mc-dev-private//net/minecraft/server/TileEntityCommand.java 2015-02-26 22:40:23.135608133 +0000
++++ src/main/java/net/minecraft/server/TileEntityCommand.java 2015-02-26 22:40:23.139608133 +0000
+@@ -3,6 +3,9 @@
+ public class TileEntityCommand extends TileEntity {
+
+ private final CommandBlockListenerAbstract a = new CommandBlockListenerAbstract() {
++ {
++ sender = new org.bukkit.craftbukkit.command.CraftBlockCommandSender(this); // CraftBukkit - add sender
++ }
+ public BlockPosition getChunkCoordinates() {
+ return TileEntityCommand.this.position;
+ }