mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
13 lines
516 B
Diff
13 lines
516 B
Diff
--- 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;
|
|
}
|