Set item meta in setSkullOwner before returning

*Should* address #2765.
This commit is contained in:
md678685 2019-08-28 15:26:23 +01:00 committed by GitHub
parent 5f9eb22d23
commit 219012bc35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -589,6 +589,7 @@ public class MetaItemStack {
if (useNewSkullMethod) {
try {
meta.setOwningPlayer(ess.getServer().getOfflinePlayer(owner));
stack.setItemMeta(meta);
return;
} catch (NoSuchMethodError e) {
useNewSkullMethod = false;