aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/renderer/NeoRegion.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-27 17:11:10 +0200
committermakamys <makamys@outlook.com>2022-06-27 18:30:52 +0200
commit3d0bc63e8bf9d817ccdcb27fdbcde5d995ce9307 (patch)
treeff2ad545b01b74b782be09ec64bbf47b48582aea /src/main/java/makamys/neodymium/renderer/NeoRegion.java
parentda152e5a796a0369127ad4fb2b81715a0ec9cbd7 (diff)
downloadNeodymium-3d0bc63e8bf9d817ccdcb27fdbcde5d995ce9307.tar.gz
Neodymium-3d0bc63e8bf9d817ccdcb27fdbcde5d995ce9307.tar.bz2
Neodymium-3d0bc63e8bf9d817ccdcb27fdbcde5d995ce9307.zip
Fix crash when joining a server
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer/NeoRegion.java')
-rw-r--r--src/main/java/makamys/neodymium/renderer/NeoRegion.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRegion.java b/src/main/java/makamys/neodymium/renderer/NeoRegion.java
index 2e4570b..c8ad740 100644
--- a/src/main/java/makamys/neodymium/renderer/NeoRegion.java
+++ b/src/main/java/makamys/neodymium/renderer/NeoRegion.java
@@ -25,7 +25,7 @@ public class NeoRegion {
}
}
- public static NeoRegion load(Path saveDir, int regionX, int regionZ) {
+ public static NeoRegion load(int regionX, int regionZ) {
return new NeoRegion(regionX, regionZ);
}
@@ -58,7 +58,7 @@ public class NeoRegion {
}
}
- public void destroy(Path saveDir) {
+ public void destroy() {
for(int i = 0; i < 32; i++) {
for(int j = 0; j < 32; j++) {
NeoChunk chunk = data[i][j];