From f56fedefe4664e7a6f4f4e0bc115fa7d239b8e8c Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Tue, 11 Nov 2025 17:07:56 +0100 Subject: [PATCH] Fix Obsidian and Bedrock --- CommonCore/SQL/src/de/steamwar/sql/GameModeConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/CommonCore/SQL/src/de/steamwar/sql/GameModeConfig.java b/CommonCore/SQL/src/de/steamwar/sql/GameModeConfig.java index d4bf0d93..2a737508 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/GameModeConfig.java +++ b/CommonCore/SQL/src/de/steamwar/sql/GameModeConfig.java @@ -686,6 +686,7 @@ public final class GameModeConfig { } } SQLWrapper.impl.getMaterialWithGreaterBlastResistance(MaxBlastResistance).forEach(material -> { + if (Limited.entrySet().stream().anyMatch(entry -> entry.getKey().contains(material))) return; Limited.put(Collections.singleton((M) material), 0); }); this.Limited = Collections.unmodifiableMap(Limited);