mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixes #2266
This commit is contained in:
parent
68b9a0aed8
commit
8073b5dafb
@ -93,6 +93,7 @@
|
||||
* Fixed #2260
|
||||
* Fixed #2263
|
||||
* Fixed #2269
|
||||
* Fixed #2266
|
||||
|
||||
## Release Candidate 15 (01 Aug 2020)
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user