Ver Fonte

BETA: Fix for [4738] thanks '''Lineage''' for reports.
* If player is missing required item, right message will be displayed in '''right''' moment.

Zoey76 há 14 anos atrás
pai
commit
550093b07a

+ 4 - 4
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestAcquireSkill.java

@@ -380,11 +380,11 @@ public final class RequestAcquireSkill extends L2GameClientPacket
 							}
 						}
 					}
-				
-					//Player doesn't have required item.
-					activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.ITEM_MISSING_TO_LEARN_SKILL));
-					showSkillList(trainer, activeChar);
 				}
+				
+				//Player doesn't have required item.
+				activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.ITEM_MISSING_TO_LEARN_SKILL));
+				showSkillList(trainer, activeChar);
 				break;
 			}
 			case Collect: