mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-25 12:15:53 +01:00
Fix compile error
This commit is contained in:
parent
e7368747c7
commit
3a27dd79bf
@ -975,7 +975,7 @@ public class NMSImpl implements NMSBridge {
|
|||||||
PlayerlistTracker replace = new PlayerlistTracker(server.getChunkProvider().playerChunkMap, entry);
|
PlayerlistTracker replace = new PlayerlistTracker(server.getChunkProvider().playerChunkMap, entry);
|
||||||
server.getChunkProvider().playerChunkMap.trackedEntities.put(player.getEntityId(), replace);
|
server.getChunkProvider().playerChunkMap.trackedEntities.put(player.getEntityId(), replace);
|
||||||
if (getHandle(player) instanceof EntityHumanNPC) {
|
if (getHandle(player) instanceof EntityHumanNPC) {
|
||||||
((EntityHumanNPC) getHandle(player)).setTracked();
|
((EntityHumanNPC) getHandle(player)).setTracked(replace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user