From 2118f3f14a01a7c2d0485e91658801f2fa3f6f6a Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 27 Apr 2017 00:23:27 +1200 Subject: [PATCH] Not sure if this will fix or break stuff, use real entity UUID --- src/me/libraryaddict/disguise/utilities/PacketsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java index 2be34199..35244381 100644 --- a/src/me/libraryaddict/disguise/utilities/PacketsManager.java +++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java @@ -423,7 +423,7 @@ public class PacketsManager { StructureModifier mods = spawnEntity.getModifier(); mods.write(0, disguisedEntity.getEntityId()); - mods.write(1, UUID.randomUUID()); + mods.write(1, disguisedEntity.getUniqueId().toString()); mods.write(2, disguise.getType().getTypeId()); // region Vector calculations