bugfix-flightfix #18

Merged
MagicBot merged 3 commits from bugfix-flightfix into master 2022-08-28 11:43:43 +00:00
2 changed files with 1 additions and 5 deletions
Showing only changes of commit ebeda7d7ba - Show all commits
+1 -1
View File
@@ -1610,7 +1610,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
// Check if calculations affected flight. // Check if calculations affected flight.
if (this.getGridObjectType().equals(GameObjectType.PlayerCharacter)) { if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) {
player = (PlayerCharacter) this; player = (PlayerCharacter) this;
// Ground players who cannot fly but are currently flying // Ground players who cannot fly but are currently flying
-4
View File
@@ -4781,10 +4781,6 @@ public void dismissNecroPets() {
}finally{ }finally{
this.updateLock.writeLock().unlock(); this.updateLock.writeLock().unlock();
} }
//temp removal
if(AbstractCharacter.CanFly(this) == false && this.altitude > 0)
GroundPlayer(this);
} }
} }
@Override @Override