mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Set item meta in setSkullOwner before returning
*Should* address #2765.
This commit is contained in:
parent
5f9eb22d23
commit
219012bc35
1 changed files with 1 additions and 0 deletions
|
@ -589,6 +589,7 @@ public class MetaItemStack {
|
||||||
if (useNewSkullMethod) {
|
if (useNewSkullMethod) {
|
||||||
try {
|
try {
|
||||||
meta.setOwningPlayer(ess.getServer().getOfflinePlayer(owner));
|
meta.setOwningPlayer(ess.getServer().getOfflinePlayer(owner));
|
||||||
|
stack.setItemMeta(meta);
|
||||||
return;
|
return;
|
||||||
} catch (NoSuchMethodError e) {
|
} catch (NoSuchMethodError e) {
|
||||||
useNewSkullMethod = false;
|
useNewSkullMethod = false;
|
||||||
|
|
Loading…
Reference in a new issue