mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Add delay to hologram linking
This commit is contained in:
parent
1a8246bb88
commit
24e7df6a18
@ -442,7 +442,7 @@ public class EventListen implements Listener {
|
||||
HologramTrait ht = crt.getRedirectNPC().getTraitNullable(HologramTrait.class);
|
||||
if (ht != null) {
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(CitizensAPI.getPlugin(),
|
||||
() -> ht.onHologramSeenByPlayer(npc, event.getPlayer()));
|
||||
() -> ht.onHologramSeenByPlayer(npc, event.getPlayer()), 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user