3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 15:20:11 +01:00
Paper/nms-patches/TileEntityCommand.patch
2016-03-01 09:32:45 +11:00

13 Zeilen
509 B
Diff

--- a/net/minecraft/server/TileEntityCommand.java
+++ b/net/minecraft/server/TileEntityCommand.java
@@ -7,6 +7,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;
}