mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Wipe datapacks on setup
This commit is contained in:
parent
c167e881fb
commit
24aaefe342
@ -93,6 +93,8 @@ public class Iris extends VolmitPlugin implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(packs.exists())
|
if(packs.exists())
|
||||||
{
|
{
|
||||||
for(File i : packs.listFiles())
|
for(File i : packs.listFiles())
|
||||||
|
@ -463,6 +463,8 @@ public class IrisDimension extends IrisRegistrant {
|
|||||||
boolean write = false;
|
boolean write = false;
|
||||||
boolean changed = false;
|
boolean changed = false;
|
||||||
|
|
||||||
|
IO.delete(new File(datapacks, "iris/data/" + getLoadKey()));
|
||||||
|
|
||||||
for(IrisBiome i : getAllBiomes(data))
|
for(IrisBiome i : getAllBiomes(data))
|
||||||
{
|
{
|
||||||
if(i.isCustom())
|
if(i.isCustom())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user