mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-12 16:14:24 +01:00
Fixed empty rows in the recipe tree
This commit is contained in:
parent
5b0d3bb770
commit
1e20dd908f
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int build(ScrollContainer container) {
|
public int build(ScrollContainer container) {
|
||||||
|
|
||||||
|
if (entries.isEmpty()) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int ii = 0;
|
int ii = 0;
|
||||||
|
|
||||||
int colWidth = 22;
|
int colWidth = 22;
|
||||||
|
|
Loading…
Reference in a new issue