mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 13:30:27 -07:00
Reset the varpmanager on HCIM death
This commit is contained in:
parent
7a91aca78f
commit
a8751eaa3c
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ import proto.management.ClanLeaveNotification;
|
|||
import proto.management.PlayerStatusUpdate;
|
||||
import rs09.GlobalStats;
|
||||
import rs09.ServerConstants;
|
||||
import rs09.game.Varp;
|
||||
import rs09.game.VarpManager;
|
||||
import rs09.game.node.entity.combat.CombatSwingHandler;
|
||||
import rs09.game.node.entity.combat.equipment.EquipmentDegrader;
|
||||
|
|
@ -591,6 +592,7 @@ public class Player extends Entity {
|
|||
setAttribute("/save:permadeath", true);
|
||||
savedData = new SavedData(this);
|
||||
questRepository = new QuestRepository(this);
|
||||
varpManager = new VarpManager(this);
|
||||
new PlayerSaver(this).save();
|
||||
clear(true);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue