Skip to content

Commit d302325

Browse files
committed
fix this - was missing an 's' on the end of the keywords
1 parent f0ec863 commit d302325

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/main/java/com/mcmoddev/orespawn/data/Constants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ private DefaultFeatureProperties() {}
9898
}
9999
public final class DimensionStuff {
100100
private DimensionStuff() {}
101-
public static final String INCLUDE = "include";
102-
public static final String EXCLUDE = "exclude";
101+
public static final String INCLUDE = "includes";
102+
public static final String EXCLUDE = "excludes";
103103
}
104104
}
105105
}

src/main/java/com/mcmoddev/orespawn/json/os3/readers/OS3V1Reader.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ private JsonObject handleVersionDifferences ( JsonObject ore, String version ) {
5454
JsonArray biomes = ore.has(ConfigNames.BIOMES)?ore.getAsJsonArray(ConfigNames.BIOMES):new JsonArray();
5555
JsonObject biomeObj = new JsonObject();
5656
biomeObj.add(biomes.size()<1?ConfigNames.BiomeStuff.BLACKLIST:ConfigNames.BiomeStuff.WHITELIST, biomes);
57-
returnValue.add("biomes", biomeObj);
58-
returnValue.add("biomes", new JsonObject());
59-
returnValue.addProperty("name", getBlockName(ore));
57+
returnValue.add(ConfigNames.BIOMES, biomeObj);
58+
returnValue.add(ConfigNames.BIOMES, new JsonObject());
59+
returnValue.addProperty(ConfigNames.BLOCK_V2, getBlockName(ore));
6060
break;
6161
case "1":
62-
returnValue.add("biomes", new JsonObject());
63-
returnValue.addProperty("name", getBlockName(ore));
62+
returnValue.add(ConfigNames.BIOMES, new JsonObject());
63+
returnValue.addProperty(ConfigNames.BLOCK_V2, getBlockName(ore));
6464
break;
6565
default:
6666
break;

0 commit comments

Comments
 (0)