Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 14:50:08 +01:00
13 Zeilen
625 B
Diff
13 Zeilen
625 B
Diff
|
--- /home/matt/mc-dev-private//net/minecraft/server/TileEntityCommand.java 2015-02-26 22:40:23.135608133 +0000
|
||
|
+++ src/main/java/net/minecraft/server/TileEntityCommand.java 2015-02-26 22:40:23.139608133 +0000
|
||
|
@@ -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;
|
||
|
}
|