Reverted the buggy 1.21.5 behavior

This commit is contained in:
Ardakaz 2025-06-27 09:07:48 +00:00
parent e3da66b37e
commit 2837e8f471

View File

@ -12,11 +12,6 @@ public class GriefAlertEvent extends Event {
public GriefAlertEvent(String alert) {
this.alert = alert;
// Discord hook for 1.21.5
if (Bukkit.getServer().getPluginManager().getPlugin("DiscordSRV") != null) {
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "discord broadcast #grief-alerts " + this.getAlert());
}
}
public static HandlerList getHandlerList() {