mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-28 05:25:20 +01:00
Cleaned up code from a merge.
This commit is contained in:
parent
97bde50708
commit
8de6ce9868
@ -365,7 +365,11 @@ public void onBlockBurn(BlockBurnEvent event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wcfg.isChestProtected(event.getBlock())) { event.setCancelled(true); return; }
|
if (wcfg.isChestProtected(event.getBlock())) {
|
||||||
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (wcfg.useRegions) {
|
if (wcfg.useRegions) {
|
||||||
Block block = event.getBlock();
|
Block block = event.getBlock();
|
||||||
Vector pt = toVector(block);
|
Vector pt = toVector(block);
|
||||||
|
Loading…
Reference in New Issue
Block a user