9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 04:29:05 +00:00
This commit is contained in:
Daniel Mills
2020-08-16 16:15:58 -04:00
parent 2407c3f2f8
commit c07b4e9f98
2 changed files with 2 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
package com.volmit.iris.gen;
import java.awt.Color;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
@@ -205,13 +204,8 @@ public class IrisChunkGenerator extends CeilingChunkGenerator implements IrisCon
CNG.creates = 0;
getData().dump();
getCache().drop();
Iris.proj.updateWorkspace(getWorkspaceFile());
onHotload();
}
private File getWorkspaceFile()
{
return new File(getDimension().getLoadFile().getParent(), getDimension().getLoadKey() + ".code-workspace");
Iris.proj.updateWorkspace(Iris.proj.getWorkspaceFile(getDimension().getLoadKey()));
}
public long guessMemoryUsage()