Proper naming for isCustomNpcInstance method.
This commit is contained in:
parent
4d39bea456
commit
4e87bb80e6
@ -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))
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user