Make safelog holograms follow their loggers

This commit is contained in:
AlexTheCoder 2017-06-12 01:04:26 -04:00
parent a952ee31cd
commit 97c8dc7cf4
2 changed files with 3 additions and 1 deletions

View File

@ -23,9 +23,9 @@ import mineplex.core.common.util.UtilServer;
import mineplex.core.common.util.UtilTextMiddle;
import mineplex.core.common.util.UtilTime;
import mineplex.game.clans.clans.ClanTips.TipType;
import mineplex.game.clans.clans.ClansManager;
import mineplex.game.clans.clans.ban.ClansBanManager;
import mineplex.game.clans.clans.worldevent.raid.RaidManager;
import mineplex.game.clans.clans.ClansManager;
import mineplex.game.clans.gameplay.safelog.npc.NPCManager;
import mineplex.game.clans.restart.RestartManager;

View File

@ -201,6 +201,8 @@ public class CombatLogNPC
// Disguise
DisguisePlayer disguise = new DisguisePlayer(skel, ((CraftPlayer) player).getHandle().getProfile());
_disguiseManager.disguise(disguise, attempted -> inRange.contains(attempted));
_hologram.setFollowEntity(skel);
return skel;
}