mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 02:35:21 +01:00
Use dedicated glint API instead of enchantments
This commit is contained in:
parent
1155ffd08e
commit
d704aa9c67
@ -132,11 +132,7 @@ public class PanelItem {
|
||||
return;
|
||||
}
|
||||
if (meta != null) {
|
||||
if (glow) {
|
||||
meta.addEnchant(Enchantment.LURE, 0, glow);
|
||||
} else {
|
||||
meta.removeEnchant(Enchantment.LURE);
|
||||
}
|
||||
meta.setEnchantmentGlintOverride(glow);
|
||||
icon.setItemMeta(meta);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user