mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-23 17:19:16 +00:00
Wipe datapacks on setup
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user