Upload files to "src/net/ardakaz/griefalert"

added copper block waxing and unwaxing and dusting off logic, (might need a little extra rework because changing its state is considered "replacing" which sorta breaks the logic)

added log stripping detection (same issue as copper blocks)
This commit is contained in:
2026-04-30 09:03:51 +00:00
parent c3c2113619
commit f59c484d6b
2 changed files with 871 additions and 752 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,29 +1,28 @@
// "API" for other plugins // "API" for other plugins
package net.ardakaz.griefalert; package net.ardakaz.griefalert;
import org.bukkit.Bukkit; import org.bukkit.event.Event;
import org.bukkit.event.Event; import org.bukkit.event.HandlerList;
import org.bukkit.event.HandlerList;
public class GriefAlertEvent extends Event {
public class GriefAlertEvent extends Event { private static final HandlerList HANDLERS = new HandlerList();
private static final HandlerList HANDLERS = new HandlerList(); private String alert = "";
private String alert = "";
public GriefAlertEvent(String alert) {
public GriefAlertEvent(String alert) { this.alert = alert;
this.alert = alert; }
}
public static HandlerList getHandlerList() {
public static HandlerList getHandlerList() { return HANDLERS;
return HANDLERS; }
}
@Override
@Override public HandlerList getHandlers() {
public HandlerList getHandlers() { return HANDLERS;
return HANDLERS; }
}
public String getAlert() {
public String getAlert() { return this.alert;
return this.alert; }
}
} }