浏览代码

Fix for No Landing zones check

GodKratos 16 年之前
父节点
当前提交
7cb8eca807
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

@@ -8535,7 +8535,7 @@ public final class L2PcInstance extends L2PlayableInstance
 	// returns false if the change of mount type fails.
 	// returns false if the change of mount type fails.
 	public boolean setMount(int npcId, int mountType)
 	public boolean setMount(int npcId, int mountType)
 	{
 	{
-		if (checkLandingState() && mountType == 2)
+		if (checkLandingState() && mountType == 0 && isFlying())
 			return false;
 			return false;
 
 
 		switch(mountType)
 		switch(mountType)