mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Removed unnecessary uncertainty
This commit is contained in:
parent
b0126206e1
commit
7fb72bf0e2
@ -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`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user