diff --git a/src/main/java/fr/openmc/core/features/city/listeners/protections/InteractProtection.java b/src/main/java/fr/openmc/core/features/city/listeners/protections/InteractProtection.java index 62fa495da..01d3f6fa4 100644 --- a/src/main/java/fr/openmc/core/features/city/listeners/protections/InteractProtection.java +++ b/src/main/java/fr/openmc/core/features/city/listeners/protections/InteractProtection.java @@ -29,7 +29,6 @@ public void onInteract(PlayerInteractEvent event) { Player player = event.getPlayer(); if (event.getAction() == Action.PHYSICAL) return; - if (event.getHand() != EquipmentSlot.HAND) return; if (event.getAction() != Action.RIGHT_CLICK_BLOCK) return; Block clickedBlock = event.getClickedBlock(); diff --git a/src/main/java/fr/openmc/core/features/mainmenu/menus/Page2.java b/src/main/java/fr/openmc/core/features/mainmenu/menus/Page2.java index a07177541..6651adecd 100644 --- a/src/main/java/fr/openmc/core/features/mainmenu/menus/Page2.java +++ b/src/main/java/fr/openmc/core/features/mainmenu/menus/Page2.java @@ -102,7 +102,7 @@ public Page2() { leaderboardItem.editMeta(meta -> { meta.setItemModel(NamespacedKey.minecraft("air")); meta.itemName(Component.text("Leaderboard", NamedTextColor.YELLOW)); - meta.lore(List.of(Component.text("/leaderboard", NamedTextColor.DARK_GRAY), Component.text("En cours de développement", NamedTextColor.RED))); + meta.lore(List.of(Component.text("/leaderboard", NamedTextColor.DARK_GRAY))); }); LEADERBOARD_SLOTS.forEach(slot -> content.put(slot, leaderboardItem));