Changed the names and some methods so its easily used by outside plugins

This commit is contained in:
libraryaddict
2014-04-19 18:22:27 +12:00
parent 74d5dbce9e
commit 43e6e6cc36
2 changed files with 21 additions and 34 deletions

View File

@@ -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();