mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Dont try to load mca regions
This commit is contained in:
parent
e19ae7af59
commit
f9a815bba6
@ -313,15 +313,7 @@ public class NBTWorld {
|
||||
|
||||
if(mcaf == null)
|
||||
{
|
||||
File f = getRegionFile(x, z);
|
||||
try {
|
||||
mcaf = f.exists() ? MCAUtil.read(f) : new MCAFile(x, z);
|
||||
} catch (IOException e) {
|
||||
Iris.error("Failed to properly read MCA File " + f.getPath() + " Using a blank one.");
|
||||
e.printStackTrace();
|
||||
mcaf = new MCAFile(x, z);
|
||||
}
|
||||
|
||||
mcaf = new MCAFile(x, z);
|
||||
regionLock.lock();
|
||||
loadedRegions.put(key, mcaf);
|
||||
regionLock.unlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user