diff --git a/common/src/main/java/dev/ftb/mods/ftbchunks/client/FTBChunksClient.java b/common/src/main/java/dev/ftb/mods/ftbchunks/client/FTBChunksClient.java index 90b612d2..687202d6 100644 --- a/common/src/main/java/dev/ftb/mods/ftbchunks/client/FTBChunksClient.java +++ b/common/src/main/java/dev/ftb/mods/ftbchunks/client/FTBChunksClient.java @@ -321,12 +321,14 @@ public boolean skipBlock(BlockState state) { } public EventResult customClick(CustomClickEvent event) { - if (event.id().equals(BUTTON_ID_MAP)) { - openGui(); - return EventResult.interruptTrue(); - } else if (event.id().equals(BUTTON_ID_CLAIM)) { - ChunkScreen.openChunkScreen(); - return EventResult.interruptTrue(); + if (FTBChunksWorldConfig.playerHasMapStage(Minecraft.getInstance().player)) { + if (event.id().equals(BUTTON_ID_MAP)) { + openGui(); + return EventResult.interruptTrue(); + } else if (event.id().equals(BUTTON_ID_CLAIM)) { + ChunkScreen.openChunkScreen(); + return EventResult.interruptTrue(); + } } return EventResult.pass();