Small bugfixes

This commit is contained in:
Anuken
2020-09-22 17:59:37 -04:00
parent f3e08f9cb6
commit 4a02315ee5
6 changed files with 16 additions and 8 deletions

View File

@@ -107,6 +107,13 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
return isGrounded() && !hovering && type.canDrown;
}
@Override
@Replace
public boolean canShoot(){
//cannot shoot while boosting
return !(type.canBoost && isFlying());
}
@Override
public int itemCapacity(){
return type.itemCapacity;