compile fixes

This commit is contained in:
Jason Penilla
2022-12-07 20:24:00 -07:00
parent d654558a4e
commit 6e1deb99aa
18 changed files with 30 additions and 31 deletions

View File

@@ -181,7 +181,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- } catch (InterruptedException | ExecutionException ex) {
+ return world.getChunkSource().chunkMap.getChunkStatusOnDisk(new ChunkPos(x, z)) == ChunkStatus.FULL;
+ // Paper end
+ } catch (IOException ex) {
+ } catch (java.io.IOException ex) {
throw new RuntimeException(ex);
}
}
@@ -218,7 +218,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ net.minecraft.world.level.chunk.storage.RegionFile file;
+ try {
+ file = world.getChunkSource().chunkMap.regionFileCache.getRegionFile(chunkPos, false);
+ } catch (IOException ex) {
+ } catch (java.io.IOException ex) {
+ throw new RuntimeException(ex);
+ }
+