summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityCommandListener.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityCommandListener.patch')
-rw-r--r--nms-patches/TileEntityCommandListener.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nms-patches/TileEntityCommandListener.patch b/nms-patches/TileEntityCommandListener.patch
new file mode 100644
index 00000000..92b43a41
--- /dev/null
+++ b/nms-patches/TileEntityCommandListener.patch
@@ -0,0 +1,10 @@
+--- ../work/decompile-bb26c12b/net/minecraft/server/TileEntityCommandListener.java 2014-11-27 08:59:46.905420949 +1100
++++ src/main/java/net/minecraft/server/TileEntityCommandListener.java 2014-11-27 08:42:10.132850949 +1100
+@@ -6,6 +6,7 @@
+
+ TileEntityCommandListener(TileEntityCommand tileentitycommand) {
+ this.a = tileentitycommand;
++ sender = new org.bukkit.craftbukkit.command.CraftBlockCommandSender(this); // CraftBukkit - add sender
+ }
+
+ public BlockPosition getChunkCoordinates() {