Skip to content

Commit

Permalink
Glowing bugfix on legacy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
RockinChaos committed Apr 30, 2023
1 parent cf24f41 commit efcb7a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/me/RockinChaos/itemjoin/item/ItemMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -3902,7 +3902,9 @@ public ItemMap updateItem(final Player player) {
this.setContents(player);
this.tempItem.setItemMeta(this.tempMeta);
this.tempItem.setAmount(this.getCount(player));
this.setTempItem(LegacyAPI.setGlowing(this.tempItem));
if (this.isGlowing()) {
this.setTempItem(LegacyAPI.setGlowing(this.tempItem));
}
this.setTempItem(LegacyAPI.setAttributes(this.tempItem, this.configName, this.attributes));
}
return this;
Expand Down

0 comments on commit efcb7a6

Please sign in to comment.