mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-25 12:15:53 +01:00
Missed 1.21 change
This commit is contained in:
parent
8c4cf4a4b4
commit
0f701a3c40
@ -38,7 +38,7 @@ public class CitizensEntityTracker extends ChunkMap.TrackedEntity {
|
||||
boolean res = super.add(conn);
|
||||
if (res) {
|
||||
Bukkit.getPluginManager().callEvent(new NPCLinkToPlayerEvent(((NPCHolder) tracker).getNPC(),
|
||||
conn.getPlayer().getBukkitEntity()));
|
||||
conn.getPlayer().getBukkitEntity(), !Bukkit.isPrimaryThread()));
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user