mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-22 16:09:16 +00:00
bug fix
This commit is contained in:
@@ -244,6 +244,7 @@ public class IrisPregenerator {
|
|||||||
|
|
||||||
if (generatedRegions.contains(pos)) {
|
if (generatedRegions.contains(pos)) {
|
||||||
listener.onRegionGenerated(x,z);
|
listener.onRegionGenerated(x,z);
|
||||||
|
if(regions) generated.addAndGet(1024);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -346,7 +347,6 @@ public class IrisPregenerator {
|
|||||||
public void onRegionGenerated(int x, int z) {
|
public void onRegionGenerated(int x, int z) {
|
||||||
generatedRegions.add(new Position2(x, z));
|
generatedRegions.add(new Position2(x, z));
|
||||||
saveCompletedRegions();
|
saveCompletedRegions();
|
||||||
generated.addAndGet(1024); // todo. not like this.
|
|
||||||
listener.onRegionGenerated(x, z);
|
listener.onRegionGenerated(x, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user