1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
This commit is contained in:
TheBusyBiscuit 2020-08-31 19:49:25 +02:00
parent 68b9a0aed8
commit 8073b5dafb
2 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,7 @@
* Fixed #2260
* Fixed #2263
* Fixed #2269
* Fixed #2266
## Release Candidate 15 (01 Aug 2020)

View File

@ -116,6 +116,9 @@ class ExplosiveTool extends SimpleSlimefunItem<ToolUseHandler> implements NotPla
else if (MaterialCollections.getAllUnbreakableBlocks().contains(b.getType())) {
return false;
}
else if (!b.getWorld().getWorldBorder().isInside(b.getLocation())) {
return false;
}
else {
return SlimefunPlugin.getProtectionManager().hasPermission(p, b.getLocation(), ProtectableAction.BREAK_BLOCK);
}