Paper/nms-patches/TileEntityCommand.patch

13 lines
509 B
Diff
Raw Normal View History

2015-05-25 18:37:24 +08:00
--- a/net/minecraft/server/TileEntityCommand.java
+++ b/net/minecraft/server/TileEntityCommand.java
2016-05-10 19:47:39 +08:00
@@ -9,6 +9,9 @@
2016-03-01 05:32:46 +08:00
private boolean g;
private boolean h;
private final CommandBlockListenerAbstract i = new CommandBlockListenerAbstract() {
2015-02-27 06:41:06 +08:00
+ {
+ sender = new org.bukkit.craftbukkit.command.CraftBlockCommandSender(this); // CraftBukkit - add sender
+ }
public BlockPosition getChunkCoordinates() {
return TileEntityCommand.this.position;
}