Fix a little typo for disguise cloning

This commit is contained in:
libraryaddict
2017-03-21 19:34:12 +13:00
parent e0fffdaa14
commit 477464851e
2 changed files with 13 additions and 15 deletions

View File

@@ -430,8 +430,9 @@ public class ReflectionManager {
WrappedGameProfile gameProfile = new WrappedGameProfile(uuid != null ? uuid : UUID.randomUUID(),
playerName);
if (profileWithSkin != null)
if (profileWithSkin != null) {
gameProfile.getProperties().putAll(profileWithSkin.getProperties());
}
return gameProfile;
}