13
0
geforkt von Mirrors/Paper
Paper/nms-patches/ICommandListener.patch
2020-06-25 10:00:00 +10:00

24 Zeilen
756 B
Diff

--- a/net/minecraft/server/ICommandListener.java
+++ b/net/minecraft/server/ICommandListener.java
@@ -22,6 +22,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, UUID uuid);
@@ -31,4 +38,6 @@
boolean shouldSendFailure();
boolean shouldBroadcastCommands();
+
+ org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper); // CraftBukkit
}