mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 13:30:08 +00:00
bug fix
This commit is contained in:
1 parent
cad679a808
commit
bad3cd27e1
1 file changed
+1
-1
@@ -244,6 +244,7 @@ public class IrisPregenerator {
|
||||
|
||||
if (generatedRegions.contains(pos)) {
|
||||
listener.onRegionGenerated(x,z);
|
||||
if(regions) generated.addAndGet(1024);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -346,7 +347,6 @@ public class IrisPregenerator {
|
||||
public void onRegionGenerated(int x, int z) {
|
||||
generatedRegions.add(new Position2(x, z));
|
||||
saveCompletedRegions();
|
||||
generated.addAndGet(1024); // todo. not like this.
|
||||
listener.onRegionGenerated(x, z);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user