New mech drowning algorithm

This commit is contained in:
Anuken
2021-08-22 15:41:03 -04:00
parent 4e12289eaa
commit 502816d210
3 changed files with 19 additions and 4 deletions

View File

@@ -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;
}