mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-08 16:56:25 +00:00
2 Bug Fixes
- Fixed #552 by making sure the biome saved in datapacks is all lowercase - Fixed extra character showing when Iris downloads a pack
This commit is contained in:
@@ -167,4 +167,8 @@ public class IrisBiomeCustom {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id.toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -472,14 +472,14 @@ public class IrisDimension extends IrisRegistrant {
|
||||
boolean write = false;
|
||||
boolean changed = false;
|
||||
|
||||
IO.delete(new File(datapacks, "iris/data/" + getLoadKey()));
|
||||
IO.delete(new File(datapacks, "iris/data/" + getLoadKey().toLowerCase()));
|
||||
|
||||
for (IrisBiome i : getAllBiomes(data)) {
|
||||
if (i.isCustom()) {
|
||||
write = true;
|
||||
|
||||
for (IrisBiomeCustom j : i.getCustomDerivitives()) {
|
||||
File output = new File(datapacks, "iris/data/" + getLoadKey() + "/worldgen/biome/" + j.getId() + ".json");
|
||||
File output = new File(datapacks, "iris/data/" + getLoadKey().toLowerCase() + "/worldgen/biome/" + j.getId() + ".json");
|
||||
|
||||
if (!output.exists()) {
|
||||
changed = true;
|
||||
|
||||
Reference in New Issue
Block a user