mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-25 01:59:15 +00:00
Object placement height now increased (need to make engine dependent)
This commit is contained in:
@@ -37,12 +37,12 @@ public class IrisObjectLimit {
|
||||
@MinNumber(0)
|
||||
@MaxNumber(1024)
|
||||
@Desc("The minimum height for placement (bottom of object)")
|
||||
private int minimumHeight = 0;
|
||||
private int minimumHeight = -2048; //TODO: WARNING HEIGHT
|
||||
|
||||
@MinNumber(0)
|
||||
@MaxNumber(1024)
|
||||
@Desc("The maximum height for placement (top of object)")
|
||||
private int maximumHeight = 255;
|
||||
private int maximumHeight = 2048; //TODO: WARNING HEIGHT
|
||||
|
||||
public boolean canPlace(int h, int l) {
|
||||
return h <= maximumHeight && l >= minimumHeight;
|
||||
|
||||
Reference in New Issue
Block a user