Variable fits limit.
This commit is contained in:
@@ -26,8 +26,8 @@ public interface Payload{
|
||||
}
|
||||
|
||||
/** @return whether this payload fits on a standard 3x3 conveyor. */
|
||||
default boolean fits(){
|
||||
return size() / tilesize <= 2.5f;
|
||||
default boolean fits(float s){
|
||||
return size() / tilesize <= s;
|
||||
}
|
||||
|
||||
/** writes the payload for saving. */
|
||||
|
||||
Reference in New Issue
Block a user