Skip to content

Commit

Permalink
May Resolve #253
Browse files Browse the repository at this point in the history
  • Loading branch information
Direwolf20-MC committed Aug 3, 2024
1 parent dc40237 commit 2ac9188
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static List<Upgrade> getUpgrades(ItemStack tool) {
public static CompoundTag setUpgradesNBT(List<Upgrade> laserUpgrades) {
CompoundTag listCompound = new CompoundTag();
ListTag list = new ListTag();
if (laserUpgrades.isEmpty()) return listCompound;
if (laserUpgrades == null || laserUpgrades.isEmpty()) return listCompound;

laserUpgrades.forEach( upgrade -> {
CompoundTag compound = new CompoundTag();
Expand Down

0 comments on commit 2ac9188

Please sign in to comment.