Fix compile error

This commit is contained in:
fullwall 2020-05-16 20:25:02 +08:00
parent e7368747c7
commit 3a27dd79bf

View File

@ -975,7 +975,7 @@ public class NMSImpl implements NMSBridge {
PlayerlistTracker replace = new PlayerlistTracker(server.getChunkProvider().playerChunkMap, entry);
server.getChunkProvider().playerChunkMap.trackedEntities.put(player.getEntityId(), replace);
if (getHandle(player) instanceof EntityHumanNPC) {
((EntityHumanNPC) getHandle(player)).setTracked();
((EntityHumanNPC) getHandle(player)).setTracked(replace);
}
}