box flag checker

This commit is contained in:
FatBoy committed 2024-05-28 22:23:40 -05:00
1 parent ead86efcf6
commit 4089f72d8f
9 files changed
+11 -11

No files matched your search

@@ -109,7 +109,7 @@ public enum InterestManager implements Runnable {
origin.sendMsg(moveMsg);
}
public static void reloadCharacter(AbstractCharacter absChar) {
public static void reloadCharacter(AbstractCharacter absChar, boolean sendToSelf) {
UnloadObjectsMsg uom = new UnloadObjectsMsg();
uom.addObject(absChar);
@@ -135,7 +135,7 @@ public enum InterestManager implements Runnable {
if (cc == null)
continue;
if (pcc.getObjectUUID() == absChar.getObjectUUID())
if (pcc.getObjectUUID() == absChar.getObjectUUID() && !sendToSelf)
continue;
else {