fix: player skin when only changing name
This commit is contained in:
parent
262622332a
commit
95453f24d1
4 changed files with 5 additions and 4 deletions
|
@ -95,7 +95,7 @@ public class v1_18_R2 implements Internals {
|
|||
final PacketPlayOutPlayerInfo add = new PacketPlayOutPlayerInfo(PacketPlayOutPlayerInfo.EnumPlayerInfoAction.a);
|
||||
final GameProfile gameProfile = new GameProfile(player.getUniqueId(), profile.getName());
|
||||
|
||||
if (skinChange) {
|
||||
if (skinChange || !profile.getSkin().equalsIgnoreCase(player.getName())) {
|
||||
try {
|
||||
final Optional<String> uuid = NickoBukkit.getInstance().getMojangAPI().getUUID(profile.getSkin());
|
||||
if (uuid.isPresent()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue