Reverted the buggy 1.21.5 behavior
This commit is contained in:
parent
e3da66b37e
commit
2837e8f471
@ -12,11 +12,6 @@ public class GriefAlertEvent extends Event {
|
|||||||
|
|
||||||
public GriefAlertEvent(String alert) {
|
public GriefAlertEvent(String alert) {
|
||||||
this.alert = 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() {
|
public static HandlerList getHandlerList() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user