Skip to content

Commit

Permalink
chore: update Minestom
Browse files Browse the repository at this point in the history
  • Loading branch information
mworzala committed Jun 7, 2024
1 parent ede1588 commit b8c029d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
metadata.format.version = "1.1"

[versions]
minestom = "1_20_5-05a4bb77c3"
minestom = "1_20_5-dd965f4bb8"
zstd = "1.5.5-3"
fastutil = "8.5.12"

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/hollowcube/polar/PolarLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void updateChunkData(@NotNull Short2ObjectMap<String> blockCache, @NotNu
final int blockIndex = x + sectionLocalY * 16 * 16 + z * 16;

// Section palette
var namespace = blockCache.computeIfAbsent((short) blockStateId, unused -> blockToString(Block.fromStateId((short) blockStateId)));
var namespace = blockCache.computeIfAbsent((short) blockStateId, unused -> blockToString(Block.fromStateId(blockStateId)));
int paletteId = blockPalette.indexOf(namespace);
if (paletteId == -1) {
paletteId = blockPalette.size();
Expand Down

0 comments on commit b8c029d

Please sign in to comment.