Changed the names and some methods so its easily used by outside plugins
This commit is contained in:
@@ -201,7 +201,7 @@ public class PacketsManager {
|
||||
}
|
||||
} else {
|
||||
Object gameProfile = null;
|
||||
gameProfile = DisguiseUtilities.getProfile(((PlayerDisguise) disguise).getName());
|
||||
gameProfile = DisguiseUtilities.getProfileFromMojang(((PlayerDisguise) disguise).getName());
|
||||
spawnPackets[0].getModifier().write(1, gameProfile);
|
||||
}
|
||||
StructureModifier<Integer> intMods = spawnPackets[0].getIntegers();
|
||||
|
Reference in New Issue
Block a user