No reason for scheduleDespawn to return L2Npc.
This commit is contained in:
parent
21412b9038
commit
edb3bba358
@ -1214,7 +1214,7 @@ public class L2Npc extends L2Character
|
||||
}
|
||||
}
|
||||
|
||||
public L2Npc scheduleDespawn(long delay)
|
||||
public void scheduleDespawn(long delay)
|
||||
{
|
||||
ThreadPoolManager.getInstance().scheduleGeneral(() ->
|
||||
{
|
||||
@ -1223,7 +1223,6 @@ public class L2Npc extends L2Character
|
||||
deleteMe();
|
||||
}
|
||||
}, delay);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user