mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Code Format Fix
This commit is contained in:
parent
dee4bc97e8
commit
60df36975c
@ -74,8 +74,9 @@ public class MinerAndroid extends ProgrammableAndroid {
|
||||
protected void dig(Block b, BlockMenu menu, Block block) {
|
||||
Collection<ItemStack> drops = block.getDrops(effectivePickaxe);
|
||||
|
||||
if (!block.getWorld().getWorldBorder().isInside(block.getLocation()))
|
||||
if (!block.getWorld().getWorldBorder().isInside(block.getLocation())) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!SlimefunTag.UNBREAKABLE_MATERIALS.isTagged(block.getType()) && !drops.isEmpty()) {
|
||||
OfflinePlayer owner = Bukkit.getOfflinePlayer(UUID.fromString(BlockStorage.getLocationInfo(b.getLocation(), "owner")));
|
||||
|
Loading…
Reference in New Issue
Block a user