Fixed issue with players re-appearing after logging off.
Contributed by Sahar.
This commit is contained in:
@ -10928,16 +10928,6 @@ public class PlayerInstance extends Playable
|
||||
// Remove from world regions zones
|
||||
ZoneManager.getInstance().getRegion(this).removeFromZones(this);
|
||||
|
||||
// Remove the PlayerInstance from the world
|
||||
try
|
||||
{
|
||||
decayMe();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "deleteMe()", e);
|
||||
}
|
||||
|
||||
// If a Party is in progress, leave it (and festival party)
|
||||
if (isInParty())
|
||||
{
|
||||
@ -10951,6 +10941,18 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
stopCubics();
|
||||
|
||||
// Remove the PlayerInstance from the world
|
||||
try
|
||||
{
|
||||
decayMe();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "deleteMe()", e);
|
||||
}
|
||||
|
||||
if (OlympiadManager.getInstance().isRegistered(this) || (getOlympiadGameId() != -1))
|
||||
{
|
||||
OlympiadManager.getInstance().removeDisconnectedCompetitor(this);
|
||||
|
Reference in New Issue
Block a user