forked from MagicBane/Server
added flight check
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user