2
0
Эх сурвалжийг харах

Fix for Primeval Crystals - tnx Gigiikun

nBd 17 жил өмнө
parent
commit
320aa2c5f7

+ 2 - 0
L2_GameServer/java/net/sf/l2j/gameserver/handler/itemhandlers/Scrolls.java

@@ -140,11 +140,13 @@ public class Scrolls implements IItemHandler
 	   		return;
 	   	}
         else if (itemId == 9897||itemId>=10131 &&itemId <=10138||itemId == 10151||itemId == 10274) //transformation scrolls
+        {
             if (activeChar.isMounted() || activeChar.getPet() != null || activeChar.isTransformed())
             {
                 activeChar.sendPacket(new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED).addItemName(item));
                 return;
             }
+        }
 	   	else if (itemId >= 8954 && itemId <= 8956)
 	   	{
 	   		if (activeChar.getLevel() < 76)