PaperMC/nms-patches/ICommandListener.patch

24 lines
756 B
Diff
Raw Normal View History

2018-07-15 02:00:00 +02:00
--- a/net/minecraft/server/ICommandListener.java
+++ b/net/minecraft/server/ICommandListener.java
2020-06-25 02:00:00 +02:00
@@ -22,6 +22,13 @@
2019-04-23 04:00:00 +02:00
public boolean shouldBroadcastCommands() {
return false;
}
+
+ // CraftBukkit start
+ @Override
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+ // CraftBukkit end
};
2020-06-25 02:00:00 +02:00
void sendMessage(IChatBaseComponent ichatbasecomponent, UUID uuid);
@@ -31,4 +38,6 @@
2019-04-23 04:00:00 +02:00
boolean shouldSendFailure();
2018-07-15 02:00:00 +02:00
2019-04-23 04:00:00 +02:00
boolean shouldBroadcastCommands();
2018-07-15 02:00:00 +02:00
+
+ org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper); // CraftBukkit
}