Unsummon pets on server shutdown.
This commit is contained in:
@ -518,6 +518,12 @@ public class Shutdown extends Thread
|
||||
// Logout Character
|
||||
try
|
||||
{
|
||||
// Unsummon pets
|
||||
if (player.getPet() != null)
|
||||
{
|
||||
player.getPet().unSummon(player);
|
||||
}
|
||||
|
||||
// Save player status
|
||||
player.store();
|
||||
}
|
||||
|
Reference in New Issue
Block a user