Less verbose

This commit is contained in:
cyberpwn
2021-08-29 08:12:30 -04:00
parent 3eef5b2c02
commit b1aa7a8e88
3 changed files with 10 additions and 3 deletions

View File

@@ -112,6 +112,13 @@ public class IrisCavePlacer implements IRare {
}
public int getSize(IrisData data) {
return getRealCave(data).getMaxSize(data);
IrisCave cave = getRealCave(data);
if(cave != null)
{
return cave.getMaxSize(data);
}
return 32;
}
}