3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-22 14:28:09 +01:00
Paper/nms-patches/TileEntityCommand.patch

13 Zeilen
516 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/TileEntityCommand.java
+++ b/net/minecraft/server/TileEntityCommand.java
2015-02-26 23:41:06 +01:00
@@ -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;
}