Now use what we just added
This commit is contained in:
parent
91623b8886
commit
5ab3061b20
@ -200,7 +200,11 @@ public class PacketsManager {
|
|||||||
stringMods.write(i, ((PlayerDisguise) disguise).getName());
|
stringMods.write(i, ((PlayerDisguise) disguise).getName());
|
||||||
}
|
}
|
||||||
} else {
|
} 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();
|
StructureModifier<Integer> intMods = spawnPackets[0].getIntegers();
|
||||||
intMods.write(0, disguisedEntity.getEntityId());
|
intMods.write(0, disguisedEntity.getEntityId());
|
||||||
|
Loading…
Reference in New Issue
Block a user