diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-18 17:47:52 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-18 17:47:52 +0200 |
commit | bb9ff71de7f7db3e45e47a6b79a9e4419e0bc630 (patch) | |
tree | 769ff97e62c113b9ae95c2f90747c6362acc5ab9 /src/main/java | |
parent | cbdbc5f2901d7bb7eeb568cdf530ccf4a64e2f0b (diff) | |
download | NotEnoughUpdates-bb9ff71de7f7db3e45e47a6b79a9e4419e0bc630.tar.gz NotEnoughUpdates-bb9ff71de7f7db3e45e47a6b79a9e4419e0bc630.tar.bz2 NotEnoughUpdates-bb9ff71de7f7db3e45e47a6b79a9e4419e0bc630.zip |
Do not display rawcraftcost if its at 0
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java b/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java index 1bca2a84..83c4b7ae 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java @@ -105,6 +105,7 @@ public class ItemPriceInformation { break; case 4: if(craftCost.fromRecipe) { + if((int)craftCost.craftCost == 0){ continue;} if(!added) { tooltip.add(""); added = true; @@ -172,6 +173,7 @@ public class ItemPriceInformation { break; case 3: if(craftCost.fromRecipe) { + if((int)craftCost.craftCost == 0){ continue;} if(!added) { tooltip.add(""); added = true; |