diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/recipes/StackedRecipeListener.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/recipes/StackedRecipeListener.kt index 81329e87..7e88e860 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/recipes/StackedRecipeListener.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/recipes/StackedRecipeListener.kt @@ -91,6 +91,7 @@ class StackedRecipeListener( inventory.matrix[i] = newItem inventory.setItem(i + 1, newItem) // Just to be safe, modify the instance (safe check) Using ?. causes a warning. + @Suppress("SENSELESS_COMPARISON") // I hate compiler warnings if (inventory.matrix[i] != null) { inventory.matrix[i].amount = amount }