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. */
|
/** @return whether this payload fits on a standard 3x3 conveyor. */
|
||||||
default boolean fits(){
|
default boolean fits(float s){
|
||||||
return size() / tilesize <= 2.5f;
|
return size() / tilesize <= s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** writes the payload for saving. */
|
/** writes the payload for saving. */
|
||||||
|
|||||||
Reference in New Issue
Block a user