added flight check

This commit is contained in:
2022-06-02 21:01:18 -05:00
parent c795238231
commit 94bc41ab9d
+4 -1
View File
@@ -4781,8 +4781,11 @@ public void dismissNecroPets() {
}finally{
this.updateLock.writeLock().unlock();
}
if(AbstractCharacter.CanFly(this) == false && this.altitude > 0)
{
GroundPlayer(this);
}
}
}
@Override
public void updateFlight() {