diff --git a/src/main/java/tsp/headdb/inventory/InventoryUtils.java b/src/main/java/tsp/headdb/inventory/InventoryUtils.java index e39bd35..a226a92 100644 --- a/src/main/java/tsp/headdb/inventory/InventoryUtils.java +++ b/src/main/java/tsp/headdb/inventory/InventoryUtils.java @@ -172,7 +172,7 @@ public class InventoryUtils { ); } - if (player.hasPermission("headdb.searchui")) { + if (player.hasPermission("headdb.search")) { inventory.setItem(40, buildButton( XMaterial.DARK_OAK_SIGN.parseItem(), "&9Search",