blob: b23a8e4ceaae68974426f952f458bd39b4b9e56f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/net/minecraft/server/TileEntityCommand.java
+++ b/net/minecraft/server/TileEntityCommand.java
@@ -9,6 +9,13 @@
private boolean f;
private boolean g;
private final CommandBlockListenerAbstract h = new CommandBlockListenerAbstract() {
+ // CraftBukkit start
+ @Override
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
+ return new org.bukkit.craftbukkit.command.CraftBlockCommandSender(wrapper);
+ }
+ // CraftBukkit end
+
public void setCommand(String s) {
super.setCommand(s);
TileEntityCommand.this.update();
|