Clean up return statement in ShopHandler::canPlayerBreakShop

This commit is contained in:
Len 2025-06-15 09:45:20 +02:00
parent 723f448a76
commit 57be263412

View File

@ -171,10 +171,7 @@ public class ShopHandler {
if (player.getUniqueId().equals(shop.getOwnerUUID()) && player.hasPermission("playershops.shop.break"))
return true;
if (player.hasPermission("playershops.shop.break.other"))
return true;
return false;
return player.hasPermission("playershops.shop.break.other");
}
public PlayerSettings getPlayerSettings(UUID uuid) { // TODO a manager for this, extracted and edited from unished PlayerSettingsPlugin