Restrict block break if condition #10
@@ -73,7 +73,7 @@ public class GriefAlert extends JavaPlugin implements Listener {
|
||||
}
|
||||
}
|
||||
// If we see a break before a placement, stop (block is gone)
|
||||
if (parseResult.getActionId() == 0) {
|
||||
if (parseResult.getActionId() == 0 && !parseResult.isRolledBack()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user