@ -46,6 +46,8 @@ public class ChangeAltitudeHandler extends AbstractClientMsgHandler {
@@ -46,6 +46,8 @@ public class ChangeAltitudeHandler extends AbstractClientMsgHandler {
returnfalse;
if(pc.region!=null&&!pc.region.isOutside())
returnfalse;
if(pc.speedMod>0)
returnfalse;
// Find out if we already have an altitude timer running and if so
@ -138,7 +138,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -138,7 +138,7 @@ public class PlayerCharacter extends AbstractCharacter {
privateintlastTargetID;
privateinthidden=0;// current rank of hide/sneak/invis
privateintseeInvis=0;// current rank of see invis
privatefloatspeedMod;
publicfloatspeedMod;
privatebooleanteleportMode=false;// Teleport on MoveToPoint
privatefloatdexPenalty;
privatelonglastPlayerAttackTime=0;
@ -4896,7 +4896,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4896,7 +4896,7 @@ public class PlayerCharacter extends AbstractCharacter {
}
if(this.isFlying()){
if(!AbstractCharacter.CanFly(this)){
if(this.speedMod>0){
GroundPlayer(this);
//ChatManager.chatSystemInfo(this, "You Cannot Fly While Having A MovementBuff");