mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
24 lines
745 B
Diff
24 lines
745 B
Diff
--- a/net/minecraft/server/ICommandListener.java
|
|
+++ b/net/minecraft/server/ICommandListener.java
|
|
@@ -20,6 +20,13 @@
|
|
public boolean shouldBroadcastCommands() {
|
|
return false;
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ @Override
|
|
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
|
|
+ throw new UnsupportedOperationException("Not supported yet.");
|
|
+ }
|
|
+ // CraftBukkit end
|
|
};
|
|
|
|
void sendMessage(IChatBaseComponent ichatbasecomponent);
|
|
@@ -29,4 +36,6 @@
|
|
boolean shouldSendFailure();
|
|
|
|
boolean shouldBroadcastCommands();
|
|
+
|
|
+ org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper); // CraftBukkit
|
|
}
|