Removed unnecessary uncertainty

This commit is contained in:
Anuken 2019-02-21 19:12:07 -05:00
parent b0126206e1
commit 7fb72bf0e2
2 changed files with 3 additions and 2 deletions

View File

@ -25,9 +25,9 @@ _Building:_ `gradlew desktop:dist`
_Running:_ `./gradlew desktop:run` _Running:_ `./gradlew desktop:run`
_Building:_ `./gradlew desktop:dist` _Building:_ `./gradlew desktop:dist`
#### For Server Builds... #### Server
Server builds are bundled with each released build (in Releases). If you'd rather compile on your own, replace 'desktop' with 'server' i.e. `gradlew server:dist`. Server builds are bundled with each released build (in Releases). If you'd rather compile on your own, replace 'desktop' with 'server', e.g. `gradlew server:dist`.
--- ---

View File

@ -42,6 +42,7 @@ public class ZoneInfoDialog extends FloatingDialog{
iteminfo.clear(); iteminfo.clear();
ItemStack[] stacks = zone.unlocked() ? zone.getLaunchCost() : zone.itemRequirements; ItemStack[] stacks = zone.unlocked() ? zone.getLaunchCost() : zone.itemRequirements;
for(ItemStack stack : stacks){ for(ItemStack stack : stacks){
if(stack.amount == 0) continue;
iteminfo.addImage(stack.item.icon(Item.Icon.medium)).size(8*3).padRight(1); iteminfo.addImage(stack.item.icon(Item.Icon.medium)).size(8*3).padRight(1);
iteminfo.add(stack.amount + "").color(Color.LIGHT_GRAY).padRight(5); iteminfo.add(stack.amount + "").color(Color.LIGHT_GRAY).padRight(5);
} }