mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 14:00:26 +00:00
This is to prevent warnings for weird objects, (revert)
This commit is contained in:
1 parent
6b59aa38ae
commit
124ad23a95
1 file changed
+1
-1
@@ -42,7 +42,7 @@ public class IrisObjectLimit {
|
|||||||
@MinNumber(0)
|
@MinNumber(0)
|
||||||
@MaxNumber(1024)
|
@MaxNumber(1024)
|
||||||
@Desc("The maximum height for placement (top of object)")
|
@Desc("The maximum height for placement (top of object)")
|
||||||
private int maximumHeight = 255;
|
private int maximumHeight = 512;
|
||||||
|
|
||||||
public boolean canPlace(int h, int l) {
|
public boolean canPlace(int h, int l) {
|
||||||
return h <= maximumHeight && l >= minimumHeight;
|
return h <= maximumHeight && l >= minimumHeight;
|
||||||
|
|||||||
Reference in new issue
Block a user