Skip to content

Commit

Permalink
Flower Loading Patch (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
Litorom authored Dec 19, 2024
2 parents 1b6efe5 + fe92b3f commit db8380d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/java/minicraft/saveload/Load.java
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ public static void loadTile(Version worldVer, short[] tiles, short[] data, int i
data[idx] = Tiles.get(matcher.group(1)).id;
} else {
tiles[idx] = Tiles.get(tileName).id;
if (worldVer.compareTo(new Version("2.3.0-dev1")) <= 0 && tileName.equalsIgnoreCase("FLOWER")) {
if (worldVer.compareTo(new Version("2.3.0-dev1")) < 0 && tileName.equalsIgnoreCase("FLOWER")) {
data[idx] = 0;
} else {
data[idx] = Short.parseShort(tileData);
Expand Down

0 comments on commit db8380d

Please sign in to comment.