mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
13 lines
509 B
Diff
13 lines
509 B
Diff
--- a/net/minecraft/server/TileEntityCommand.java
|
|
+++ b/net/minecraft/server/TileEntityCommand.java
|
|
@@ -9,6 +9,9 @@
|
|
private boolean g;
|
|
private boolean h;
|
|
private final CommandBlockListenerAbstract i = new CommandBlockListenerAbstract() {
|
|
+ {
|
|
+ sender = new org.bukkit.craftbukkit.command.CraftBlockCommandSender(this); // CraftBukkit - add sender
|
|
+ }
|
|
public BlockPosition getChunkCoordinates() {
|
|
return TileEntityCommand.this.position;
|
|
}
|