diff --git a/README.md b/README.md index 30591a6ed7..f85d9cb702 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ _Building:_ `gradlew desktop:dist` _Running:_ `./gradlew desktop:run` _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`. --- diff --git a/core/src/io/anuke/mindustry/ui/dialogs/ZoneInfoDialog.java b/core/src/io/anuke/mindustry/ui/dialogs/ZoneInfoDialog.java index 63c3e80a1f..fbf81611ee 100644 --- a/core/src/io/anuke/mindustry/ui/dialogs/ZoneInfoDialog.java +++ b/core/src/io/anuke/mindustry/ui/dialogs/ZoneInfoDialog.java @@ -42,6 +42,7 @@ public class ZoneInfoDialog extends FloatingDialog{ iteminfo.clear(); ItemStack[] stacks = zone.unlocked() ? zone.getLaunchCost() : zone.itemRequirements; for(ItemStack stack : stacks){ + if(stack.amount == 0) continue; iteminfo.addImage(stack.item.icon(Item.Icon.medium)).size(8*3).padRight(1); iteminfo.add(stack.amount + "").color(Color.LIGHT_GRAY).padRight(5); }