From 4e87bb80e6ae8404d7bdc982695af30d8f1e39f9 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 25 Aug 2019 21:02:41 +0000 Subject: [PATCH] Proper naming for isCustomNpcInstance method. --- .../gameserver/instancemanager/CustomNpcInstanceManager.java | 2 +- .../l2jmobius/gameserver/model/actor/instance/NpcInstance.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/CustomNpcInstanceManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/CustomNpcInstanceManager.java index 3540700776..4a39c3824a 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/CustomNpcInstanceManager.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/CustomNpcInstanceManager.java @@ -190,7 +190,7 @@ public class CustomNpcInstanceManager * @param npcId - NpcInstance's npc template id * @return */ - public boolean isThisL2CustomNpcInstance(int spwnId, int npcId) + public boolean isCustomNpcInstance(int spwnId, int npcId) { if ((spwnId == 0) || (npcId == 0)) { diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java index d90f703bf8..9edd756e8c 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java @@ -2989,7 +2989,7 @@ public class NpcInstance extends Creature // Does this Npc morph into a PcInstance? if (_spawn != null) { - if (CustomNpcInstanceManager.getInstance().isThisL2CustomNpcInstance(_spawn.getId(), getNpcId())) + if (CustomNpcInstanceManager.getInstance().isCustomNpcInstance(_spawn.getId(), getNpcId())) { new CustomNpcInstance(this); }