Restrict block break if condition #10

Merged
Ardakaz merged 2 commits from break-action into main 2026-07-13 15:12:00 +00:00

View File

@@ -73,7 +73,7 @@ public class GriefAlert extends JavaPlugin implements Listener {
} }
} }
// If we see a break before a placement, stop (block is gone) // If we see a break before a placement, stop (block is gone)
if (parseResult.getActionId() == 0) { if (parseResult.getActionId() == 0 && !parseResult.isRolledBack()) {
break; break;
} }
} }