Better naming from raidboss status getter and setter.
This commit is contained in:
@ -505,11 +505,11 @@ public class DBSpawnManager
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the raid npc status id.
|
||||
* Gets the raid npc status.
|
||||
* @param npcId the npc id
|
||||
* @return the raid npc status id
|
||||
* @return the raid npc status
|
||||
*/
|
||||
public RaidBossStatus getNpcStatusId(int npcId)
|
||||
public RaidBossStatus getStatus(int npcId)
|
||||
{
|
||||
if (_npcs.containsKey(npcId))
|
||||
{
|
||||
|
@ -107,7 +107,7 @@ public class GrandBossManager implements IStorable
|
||||
ThreadPool.scheduleAtFixedRate(new GrandBossManagerStoreTask(), 5 * 60 * 1000, 5 * 60 * 1000);
|
||||
}
|
||||
|
||||
public int getBossStatus(int bossId)
|
||||
public int getStatus(int bossId)
|
||||
{
|
||||
if (!_bossStatus.containsKey(bossId))
|
||||
{
|
||||
@ -116,7 +116,7 @@ public class GrandBossManager implements IStorable
|
||||
return _bossStatus.get(bossId);
|
||||
}
|
||||
|
||||
public void setBossStatus(int bossId, int status)
|
||||
public void setStatus(int bossId, int status)
|
||||
{
|
||||
_bossStatus.put(bossId, status);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Updated " + NpcData.getInstance().getTemplate(bossId).getName() + "(" + bossId + ") status to " + status + ".");
|
||||
|
Reference in New Issue
Block a user