fix stone strata resolving on Fabric

This commit is contained in:
Relentless 2023-04-01 01:26:13 +02:00
parent d0c4362ec9
commit 070429fa8c
No known key found for this signature in database
GPG key ID: 50C5FD225130D790

View file

@ -30,7 +30,7 @@ public class StoneStrataHandler {
TagMap stoneStrataTagMap = tagMap.filtered(stoneStrataTags::contains, item -> true);
Pattern tagMatcher = Pattern.compile(switch (AlmostUnifiedPlatform.INSTANCE.getPlatform()) {
case FORGE -> "forge:ores/.+";
case FABRIC -> "(c:ores/.+|c:.+_ore)";
case FABRIC -> "(c:ores/.+|c:.+_ores)";
});
return new StoneStrataHandler(stoneStrataIds, tagMatcher, stoneStrataTagMap);
}