mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-14 12:50:13 +00:00
Now use what we just added
This commit is contained in:
parent
91623b8886
commit
5ab3061b20
1 changed files with 5 additions and 1 deletions
|
@ -200,7 +200,11 @@ public class PacketsManager {
|
|||
stringMods.write(i, ((PlayerDisguise) disguise).getName());
|
||||
}
|
||||
} else {
|
||||
spawnPackets[0].getModifier().write(1, ReflectionManager.getGameProfile(((PlayerDisguise) disguise).getName()));
|
||||
spawnPackets[0].getModifier().write(
|
||||
1,
|
||||
ReflectionManager.getGameProfile(
|
||||
DisguiseUtilities.getUUID(disguise, ((PlayerDisguise) disguise).getName()),
|
||||
((PlayerDisguise) disguise).getName()));
|
||||
}
|
||||
StructureModifier<Integer> intMods = spawnPackets[0].getIntegers();
|
||||
intMods.write(0, disguisedEntity.getEntityId());
|
||||
|
|
Loading…
Reference in a new issue