Kaynağa Gözat

Fix for AIOOBE. NC failed again with SC lvl 13 rename (still wrong).

JIV 15 yıl önce
ebeveyn
işleme
b3ea2dd735

+ 2 - 0
L2_GameServer/java/com/l2jserver/gameserver/model/actor/L2Attackable.java

@@ -2145,6 +2145,8 @@ public class L2Attackable extends L2Npc
 								{
 									// Split the name of the crystal into 'name' & 'level'
 									crystalNFO = item.getItem().getName().trim().replace(" Stage ", "").split("-");
+									if (crystalNFO.length != 2)
+										crystalNFO = item.getItem().getName().trim().replace(" Stage ", "").split(":");
 									// Get Level
 									crystalLVL = Integer.parseInt(crystalNFO[1].trim());
 								}