Skip to content

Commit

Permalink
Treat unknown dimensions as world0 to fix MCC
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Aug 5, 2023
1 parent f4a8527 commit 49e2728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/coderbot/iris/shaderpack/ShaderPack.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public ShaderPack(Path root, Map<String, String> changedConfigs, Iterable<String
if (Files.exists(root.resolve("world0"))) {
dimensionIdCreator.add("world0");
dimensionMap.putIfAbsent(DimensionId.OVERWORLD, "world0");
dimensionMap.putIfAbsent(new NamespacedId("*", "*"), "world0");
}
if (Files.exists(root.resolve("world-1"))) {
dimensionIdCreator.add("world-1");
Expand Down

0 comments on commit 49e2728

Please sign in to comment.