PaperMC/nms-patches/TileEntityCommandListener.patch

10 lines
522 B
Diff

--- ../work/decompile-8eb82bde//net/minecraft/server/TileEntityCommandListener.java 2014-11-28 17:43:43.393707428 +0000
+++ src/main/java/net/minecraft/server/TileEntityCommandListener.java 2014-11-28 17:38:17.000000000 +0000
@@ -6,6 +6,7 @@
TileEntityCommandListener(TileEntityCommand tileentitycommand) {
this.a = tileentitycommand;
+ sender = new org.bukkit.craftbukkit.command.CraftBlockCommandSender(this); // CraftBukkit - add sender
}
public BlockPosition getChunkCoordinates() {