More compile fixes

This commit is contained in:
Nassim Jahnke
2023-12-06 20:10:59 +01:00
parent 61209168b7
commit b7ab883a24
10 changed files with 26 additions and 46 deletions

View File

@@ -50,7 +50,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ CompoundTag compound;
+ try {
+ compound = net.minecraft.nbt.NbtIo.readCompressed(
+ new java.io.ByteArrayInputStream(data)
+ new java.io.ByteArrayInputStream(data), net.minecraft.nbt.NbtAccounter.unlimitedHeap()
+ );
+ } catch (IOException ex) {
+ throw new RuntimeException(ex);