mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 07:46:08 +00:00
Less verbose
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user