9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00
This commit is contained in:
Julian Krings
2024-08-19 20:45:06 +02:00
parent 19c6f4f2ba
commit 7b80eb1c06

View File

@@ -200,7 +200,7 @@ public class IrisBiome extends IrisRegistrant implements IRare {
var key = getLoadKey();
if (key == null) key = getVanillaDerivative().getKey().getKey();
String biomeID = key.replaceAll("\\s", "").replaceAll("[^a-z0-9/._-]", "");
setCustomDerivitives(new KList<>(new IrisBiomeReplacement().setId(biomeID)));
setCustomDerivitives(new KList<>(new IrisBiomeReplacement().setBiome(getVanillaDerivative()).setId(biomeID)));
}
return customDerivitives;
}