forked from SteamWar/SteamWar
Fix Obsidian and Bedrock
This commit is contained in:
@@ -686,6 +686,7 @@ public final class GameModeConfig<M, W> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
SQLWrapper.impl.getMaterialWithGreaterBlastResistance(MaxBlastResistance).forEach(material -> {
|
SQLWrapper.impl.getMaterialWithGreaterBlastResistance(MaxBlastResistance).forEach(material -> {
|
||||||
|
if (Limited.entrySet().stream().anyMatch(entry -> entry.getKey().contains(material))) return;
|
||||||
Limited.put(Collections.singleton((M) material), 0);
|
Limited.put(Collections.singleton((M) material), 0);
|
||||||
});
|
});
|
||||||
this.Limited = Collections.unmodifiableMap(Limited);
|
this.Limited = Collections.unmodifiableMap(Limited);
|
||||||
|
|||||||
Reference in New Issue
Block a user