Fixed empty rows in the recipe tree

This commit is contained in:
Sollace 2022-08-29 14:51:07 +02:00
parent 5b0d3bb770
commit 1e20dd908f

View file

@ -55,6 +55,11 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder {
}
public int build(ScrollContainer container) {
if (entries.isEmpty()) {
return 0;
}
int ii = 0;
int colWidth = 22;