Skip to content

Commit

Permalink
Random cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Panda4994 committed Apr 25, 2024
1 parent 31104d5 commit 86faf25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/mojang/serialization/KeyCompressor.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public int compress(final String key) {
}

public int compress(final T key) {
return compress.get(key);
return compress.getInt(key);
}

public int size() {
Expand Down

0 comments on commit 86faf25

Please sign in to comment.