This commit is contained in:
2025-03-08 06:19:36 -06:00
parent 54b8a1df19
commit 71735c73ff
3 changed files with 56 additions and 1 deletions
@@ -46,6 +46,7 @@ public enum InterestManager implements Runnable {
LoadCharacterMsg lcm;
NPC npc;
Corpse corpse;
PlayerCharacter pc;
HashSet<AbstractWorldObject> toUpdate;
switch (awo.getObjectType()) {
@@ -64,6 +65,11 @@ public enum InterestManager implements Runnable {
lcm = new LoadCharacterMsg(npc, false);
msg = lcm;
break;
case PlayerCharacter:
pc = (PlayerCharacter) awo;
lcm = new LoadCharacterMsg(pc, false);
msg = lcm;
break;
default:
return;
}
@@ -132,8 +138,9 @@ public enum InterestManager implements Runnable {
if (cc == null)
continue;
if (!fromBox && pcc.getObjectUUID() == absChar.getObjectUUID())
if (pcc.getObjectUUID() == absChar.getObjectUUID()) {
continue;
}
else {
if (pc != null)