From 577b67c45ff6b60252e1a10093f510a0b2c10ed0 Mon Sep 17 00:00:00 2001 From: Nos <NosBit@users.noreply.github.com> Date: Wed, 1 Jan 2014 00:50:15 +0000 Subject: [PATCH] BETA: DP-Part for [L6330] --- .../scripts/ai/npc/ForgeOfTheGods/TarBeetleSpawn.java | 10 +++++----- .../data/scripts/ai/npc/NpcBuffers/NpcBuffersData.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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 f07c3b1fe7..c434678a95 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 44200980f2..2696a54a0d 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()) { -- GitLab