Player.setPlayerProfile API
This can be useful for changing name or skins after a player has logged in. == AT == public-f net.minecraft.world.entity.player.Player gameProfile
This commit is contained in:
@@ -82,8 +82,8 @@ public class CraftOfflinePlayer implements OfflinePlayer, ConfigurationSerializa
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayerProfile getPlayerProfile() {
|
||||
return new CraftPlayerProfile(this.profile);
|
||||
public com.destroystokyo.paper.profile.PlayerProfile getPlayerProfile() { // Paper
|
||||
return com.destroystokyo.paper.profile.CraftPlayerProfile.asBukkitCopy(this.profile); // Paper
|
||||
}
|
||||
|
||||
public Server getServer() {
|
||||
|
||||
Reference in New Issue
Block a user