mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-23 17:19:16 +00:00
Remove block data caching
This commit is contained in:
@@ -107,6 +107,14 @@ public class Iris extends VolmitPlugin implements Listener {
|
||||
IO.delete(new File("iris"));
|
||||
installDataPacks();
|
||||
fixShading();
|
||||
(new Looper() {
|
||||
protected long loop() {
|
||||
File ff = Iris.instance.getDataFolderNoCreate("dump");
|
||||
if (ff.exists() && ff.isDirectory() && ff.listFiles().length == 0)
|
||||
Iris.dump();
|
||||
return 10000L;
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user