Not sure if this will fix or break stuff, use real entity UUID

This commit is contained in:
libraryaddict 2017-04-27 00:23:27 +12:00
parent d3f6b6e68c
commit 2118f3f14a

View File

@ -423,7 +423,7 @@ public class PacketsManager {
StructureModifier<Object> mods = spawnEntity.getModifier(); StructureModifier<Object> mods = spawnEntity.getModifier();
mods.write(0, disguisedEntity.getEntityId()); mods.write(0, disguisedEntity.getEntityId());
mods.write(1, UUID.randomUUID()); mods.write(1, disguisedEntity.getUniqueId().toString());
mods.write(2, disguise.getType().getTypeId()); mods.write(2, disguise.getType().getTypeId());
// region Vector calculations // region Vector calculations