Fix new Short -> new short

This commit is contained in:
mcrcortex
2024-02-29 21:11:09 +10:00
parent 4116d78bf3
commit 3c6cdb05d3

View File

@@ -12,7 +12,7 @@ public class SaveLoadSystem {
public static ByteBuffer serialize(WorldSection section) {
var data = section.copyData();
var compressed = new Short[data.length];
var compressed = new short[data.length];
Long2ShortOpenHashMap LUT = new Long2ShortOpenHashMap();
LongArrayList LUTVAL = new LongArrayList();
for (int i = 0; i < data.length; i++) {
@@ -49,7 +49,6 @@ public class SaveLoadSystem {
raw.limit(raw.position());
raw.rewind();
//Compress into a key + data pallet format
return raw;
}