浏览代码

BETA: Added check to symbol ID in '''!RequestHennaItemRemoveInfo''' packet to avoid warning when symbol ID is 0.

St3eT 10 年之前
父节点
当前提交
14fc385741

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestHennaItemRemoveInfo.java

@@ -42,7 +42,7 @@ public final class RequestHennaItemRemoveInfo extends L2GameClientPacket
 	protected void runImpl()
 	{
 		final L2PcInstance activeChar = getClient().getActiveChar();
-		if (activeChar == null)
+		if ((activeChar == null) || (_symbolId == 0))
 		{
 			return;
 		}