mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-02-08 18:02:10 +01:00
possible fix regarding transaction item not applying model data
Took 59 seconds
This commit is contained in:
parent
2dafe66cef
commit
c3560003fc
@ -107,6 +107,6 @@ public class ConfigurationItemHelper {
|
||||
}
|
||||
|
||||
public static ItemStack createConfigurationItem(Player player, ItemStack item, String title, List<String> lore, HashMap<String, Object> replacements) {
|
||||
return createConfigurationItem(player, item, 0, title, lore, replacements);
|
||||
return createConfigurationItem(player, item, (item.hasItemMeta() && item.getItemMeta().hasCustomModelData()) ? item.getItemMeta().getCustomModelData() : 0, title, lore, replacements);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user