mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-23 00:28:02 +00:00
Less verbose
This commit is contained in:
1 parent
3eef5b2c02
commit
b1aa7a8e88
3 files changed
+10
-3
No files matched your search
@@ -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