New mech drowning algorithm
This commit is contained in:
@@ -44,9 +44,7 @@ abstract class FlyingComp implements Posc, Velc, Healthc, Hitboxc{
|
||||
return isGrounded() && !hovering;
|
||||
}
|
||||
|
||||
//TODO
|
||||
@Nullable
|
||||
Floor drownFloor(){
|
||||
@Nullable Floor drownFloor(){
|
||||
return canDrown() ? floorOn() : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user