blob: 9ef1c0a67dfbd7f1be31b9951ec113958d9f0a9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/net/minecraft/server/TileEntityCommand.java
+++ b/net/minecraft/server/TileEntityCommand.java
@@ -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;
}
|