Proper naming for isCustomNpcInstance method.

This commit is contained in:
MobiusDevelopment 2019-08-25 21:02:41 +00:00
parent 4d39bea456
commit 4e87bb80e6
2 changed files with 2 additions and 2 deletions

View File

@ -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))
{

View File

@ -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);
}