2
0
Rumen Nikiforov 13 жил өмнө
parent
commit
a43b0a9ec6

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/EnchantItemTable.java

@@ -144,7 +144,7 @@ public class EnchantItemTable
 							if ("item".equalsIgnoreCase(cd.getNodeName()))
 							{
 								att = cd.getAttributes().getNamedItem("id");
-								if (itemz != null)
+								if (att != null)
 									itemz.add(Integer.parseInt(att.getNodeValue()));
 								else
 								{
@@ -217,7 +217,7 @@ public class EnchantItemTable
 							if ("item".equalsIgnoreCase(cd.getNodeName()))
 							{
 								att = cd.getAttributes().getNamedItem("id");
-								if (itemz != null)
+								if (att != null)
 									itemz.add(Integer.parseInt(att.getNodeValue()));
 								else
 								{