Paper/paper-server/nms-patches/TileEntityCommandListener.patch

11 lines
521 B
Diff
Raw Normal View History

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