mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-30 11:42:02 -07:00
Fix SkullMeta.setPlayerProfile() (#2833)
This commit is contained in:
@@ -48,7 +48,7 @@ index a4bc7f970..2dd2f476f 100644
|
||||
public BlockFace getRotation() {
|
||||
BlockData blockData = getBlockData();
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java
|
||||
index 4fb27cc7e..18545e5ef 100644
|
||||
index 4fb27cc7e..96d62bbf8 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java
|
||||
@@ -0,0 +0,0 @@ package org.bukkit.craftbukkit.inventory;
|
||||
@@ -75,7 +75,7 @@ index 4fb27cc7e..18545e5ef 100644
|
||||
+ // Paper start
|
||||
+ @Override
|
||||
+ public void setPlayerProfile(@Nullable PlayerProfile profile) {
|
||||
+ this.profile = (profile == null) ? null : CraftPlayerProfile.asAuthlibCopy(profile);
|
||||
+ setProfile((profile == null) ? null : CraftPlayerProfile.asAuthlibCopy(profile));
|
||||
+ }
|
||||
+
|
||||
+ @Nullable
|
||||
|
Reference in New Issue
Block a user