From 6fd0e79d5a02292b0282a6562ac156a0281e1492 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 19 Dec 2022 08:17:57 +0000 Subject: [PATCH] These classes can be static --- .../unicopia/client/gui/spellbook/IngredientTree.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/client/gui/spellbook/IngredientTree.java b/src/main/java/com/minelittlepony/unicopia/client/gui/spellbook/IngredientTree.java index 279c3a4d..179763ca 100644 --- a/src/main/java/com/minelittlepony/unicopia/client/gui/spellbook/IngredientTree.java +++ b/src/main/java/com/minelittlepony/unicopia/client/gui/spellbook/IngredientTree.java @@ -112,7 +112,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder { return totalHeight + 7; } - class IngredientButton extends Button { + static class IngredientButton extends Button { private final IngredientTree.Entry entry; private String label; @@ -154,7 +154,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder { void onClick(); } - class Stacks implements IngredientTree.Entry { + static class Stacks implements IngredientTree.Entry { private int ticker; protected int index; protected final ItemStack[] stacks; @@ -198,7 +198,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder { } } - class HiddenStacks extends Stacks { + static class HiddenStacks extends Stacks { HiddenStacks(ItemStack[] stacks) { super(stacks); } @@ -242,7 +242,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder { } } - class Traits implements IngredientTree.Entry { + static class Traits implements IngredientTree.Entry { private final Trait trait; private final float value;