diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/ForgeOfTheGods/TarBeetleSpawn.java b/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/ForgeOfTheGods/TarBeetleSpawn.java index f07c3b1fe74c69c744d878dec02ebee6adf378a3..c434678a95399e3204396cbe23af518b8a9af61f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/ForgeOfTheGods/TarBeetleSpawn.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/ForgeOfTheGods/TarBeetleSpawn.java @@ -81,9 +81,9 @@ public class TarBeetleSpawn extends DocumentParser if (r.getNodeName().equals("zone")) { NamedNodeMap attrs = r.getAttributes(); - int id = parseInt(attrs, "id"); - int minZ = parseInt(attrs, "minZ"); - int maxZ = parseInt(attrs, "maxZ"); + int id = parseInteger(attrs, "id"); + int minZ = parseInteger(attrs, "minZ"); + int maxZ = parseInteger(attrs, "maxZ"); String type = parseString(attrs, "type"); if (type.equals("upper")) { @@ -112,8 +112,8 @@ public class TarBeetleSpawn extends DocumentParser if (c.getNodeName().equals("point")) { attrs = c.getAttributes(); - int x = parseInt(attrs, "x"); - int y = parseInt(attrs, "y"); + int x = parseInteger(attrs, "x"); + int y = parseInteger(attrs, "y"); zone.add(x, y, minZ, maxZ, 0); } } diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/NpcBuffers/NpcBuffersData.java b/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/NpcBuffers/NpcBuffersData.java index 44200980f2d98c6c51197ad3c738c662bcd03c2f..2696a54a0d8a656f85bc9366a2c2ee6e20285dc2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/NpcBuffers/NpcBuffersData.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/NpcBuffers/NpcBuffersData.java @@ -64,7 +64,7 @@ public class NpcBuffersData extends DocumentParser if ("npc".equalsIgnoreCase(d.getNodeName())) { attrs = d.getAttributes(); - final int npcId = parseInt(attrs, "id"); + final int npcId = parseInteger(attrs, "id"); final NpcBufferData npc = new NpcBufferData(npcId); for (Node c = d.getFirstChild(); c != null; c = c.getNextSibling()) {