9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 12:29:20 +00:00

Localdata

This commit is contained in:
Daniel Mills
2020-08-07 03:56:30 -04:00
parent 60324c041c
commit e5384509cf
21 changed files with 189 additions and 131 deletions

View File

@@ -54,7 +54,7 @@ public class CommandIrisGoto extends MortarCommand
else
{
biome2 = Iris.data.getBiomeLoader().load(args[1]);
biome2 = g.loadBiome(args[1]);
if(biome2 == null)
{
@@ -72,7 +72,7 @@ public class CommandIrisGoto extends MortarCommand
}
}
IrisBiome biome = Iris.data.getBiomeLoader().load(args[0]);
IrisBiome biome = g.loadBiome(args[0]);
if(biome == null)
{

View File

@@ -21,7 +21,7 @@ public class CommandIrisStudioList extends MortarCommand
public boolean handle(MortarSender sender, String[] args)
{
int m = 0;
for(File i : Iris.data.getDimensionLoader().getFolders())
for(File i : Iris.globaldata.getDimensionLoader().getFolders())
{
for(File j : i.listFiles())
{
@@ -30,7 +30,7 @@ public class CommandIrisStudioList extends MortarCommand
try
{
m++;
IrisDimension d = Iris.data.getDimensionLoader().load(j.getName().replaceAll("\\Q.json\\E", ""));
IrisDimension d = Iris.globaldata.getDimensionLoader().load(j.getName().replaceAll("\\Q.json\\E", ""));
sender.sendMessage("- " + d.getLoadKey() + " (" + d.getName() + ")");
}
catch(Throwable e)