mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-30 12:29:20 +00:00
Localdata
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user