Variable fits limit.

This commit is contained in:
MEEP of Faith
2020-10-02 21:16:45 -07:00
committed by GitHub
parent 7a307bbe9c
commit 8f1869672d

View File

@@ -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. */