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

17 Zeilen
680 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/TileEntityCommand.java
+++ b/net/minecraft/server/TileEntityCommand.java
2018-07-15 02:00:00 +02:00
@@ -9,6 +9,13 @@
private boolean f;
2016-02-29 22:32:46 +01:00
private boolean g;
2018-07-15 02:00:00 +02:00
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, TileEntityCommand.this);
2015-02-26 23:41:06 +01:00
+ }
2018-07-15 02:00:00 +02:00
+ // CraftBukkit end
+
public void setCommand(String s) {
super.setCommand(s);
TileEntityCommand.this.update();