PaperMC/nms-patches/TileEntityCommand.patch

13 lines
509 B
Diff
Raw Normal View History

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