Custom mob head not updating immediately
#2
Setting the owner doesn't re-send the metadata to the client. We should add a m_IsMetadataDirty flag to entities and all the Set functions should set it; upon ticking the entity, if the flag is set, the entity should re-send its metadata to the client and reset the flag.

Come to think of it, I'm not sure if the protocol supports re-sending the entity metadata, though. It might be that the metadata is sent only with the "create entity" packet, so we'd have to effectively destroy and recreate the entity.
Reply
Thanks given by:


Messages In This Thread
RE: Custom mob head not updating immediately - by xoft - 12-22-2015, 11:37 PM



Users browsing this thread: 1 Guest(s)