2024-12-11 22:26:55 +01:00
|
|
|
--- a/net/minecraft/commands/CommandSource.java
|
|
|
|
+++ b/net/minecraft/commands/CommandSource.java
|
2022-06-07 18:00:00 +02:00
|
|
|
@@ -22,6 +22,13 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
public boolean shouldInformAdmins() {
|
2019-04-23 04:00:00 +02:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ @Override
|
2024-12-11 22:26:55 +01:00
|
|
|
+ public org.bukkit.command.CommandSender getBukkitSender(CommandSourceStack wrapper) {
|
2019-04-23 04:00:00 +02:00
|
|
|
+ throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
};
|
|
|
|
|
2024-12-11 22:26:55 +01:00
|
|
|
void sendSystemMessage(Component message);
|
2022-06-07 18:00:00 +02:00
|
|
|
@@ -35,4 +42,6 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
default boolean alwaysAccepts() {
|
2021-06-11 07:00:00 +02:00
|
|
|
return false;
|
|
|
|
}
|
2018-07-15 02:00:00 +02:00
|
|
|
+
|
2024-12-11 22:26:55 +01:00
|
|
|
+ org.bukkit.command.CommandSender getBukkitSender(CommandSourceStack wrapper); // CraftBukkit
|
2018-07-15 02:00:00 +02:00
|
|
|
}
|