Refresh all disguises using that playername. Not just the caller

This commit is contained in:
libraryaddict
2014-04-16 16:26:19 +12:00
parent c454ea1cd7
commit 5f03b75eb7
2 changed files with 15 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ public class PacketsManager {
}
} else {
Object gameProfile = null;
gameProfile = DisguiseUtilities.getProfile(disguise, ((PlayerDisguise) disguise).getName());
gameProfile = DisguiseUtilities.getProfile(((PlayerDisguise) disguise).getName());
spawnPackets[0].getModifier().write(1, gameProfile);
}
StructureModifier<Integer> intMods = spawnPackets[0].getIntegers();