ProtocolManager.updateEntity() don't work in 1.8.8 server
PedroMariniNave opened this issue ยท 0 comments
I tried to use this repository: https://gist.github.com/aadnk/5871793, but when I try to show the entity, It don't work.
This is the part of code:
public final boolean showEntity(Player observer, Entity entity) {
validate(observer, entity);
boolean hiddenBefore = !setVisibility(observer, entity.getEntityId(), true);
// Resend packets
if (manager != null && hiddenBefore) {
manager.updateEntity(entity, Arrays.asList(observer));
}
return hiddenBefore;
}
I tried to use this at 1.16.5 and works fine!
I think the cause is the old version.
Can someone help me?