9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 11:09:06 +00:00
This commit is contained in:
Daniel Mills
2020-01-07 08:26:39 -05:00
parent 7e9cea94f3
commit d1925201ef
22 changed files with 167 additions and 45 deletions

View File

@@ -45,7 +45,7 @@ public class CommandIris implements CommandExecutor
{
IrisGenerator g = (IrisGenerator) w.getGenerator();
IrisBiome b = null;
for(IrisBiome i : IrisBiome.getBiomes())
for(IrisBiome i : g.getLoadedBiomes())
{
if(args[1].toLowerCase().equals(i.getName().toLowerCase().replaceAll("\\Q \\E", "_")))
{