Skip to content

Commit bff0f23

Browse files
authored
Merge pull request #243 from ModificationStation/develop
2.0.0-alpha.5.4
2 parents 0e44ff7 + 0d10efc commit bff0f23

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fabric.loom.multiProjectOptimisation=true
2222
spasm_version = 0.2.2
2323

2424
# Mod Properties
25-
mod_version = 2.0.0-alpha.5.3
25+
mod_version = 2.0.0-alpha.5.4
2626
maven_group = net.modificationstation
2727
archives_base_name = StationAPI
2828

station-flattening-v0/src/main/java/net/modificationstation/stationapi/impl/world/chunk/FlattenedChunk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void loadStoredHeightmap(byte[] heightmap) {
8181
else {
8282
for (short i = 0; i < 256; i++) {
8383
int index = i << 1;
84-
stationHeightmap[i] = (short) (heightmap[index] | (heightmap[index | 1] << 8));
84+
stationHeightmap[i] = (short) (Byte.toUnsignedInt(heightmap[index]) | (heightmap[index | 1] << 8));
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)