moved flight check to MovementManager

This commit is contained in:
FatBoy committed 2022-06-03 08:42:08 -05:00
1 parent 94bc41ab9d
commit 87e18351be
2 files changed
+6 -5

No files matched your search

+5 -4
View File
@@ -4781,10 +4781,11 @@ public void dismissNecroPets() {
}finally{
this.updateLock.writeLock().unlock();
}
if(AbstractCharacter.CanFly(this) == false && this.altitude > 0)
{
GroundPlayer(this);
}
//temp removal
//if(AbstractCharacter.CanFly(this) == false && this.altitude > 0)
//{
// GroundPlayer(this);
//}
}
}
@Override