mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
quick fix : Redundant array creation for calling varargs method
This commit is contained in:
1 parent
01655b93c8
commit
7e0c202772
1 file changed
+2
-2
@@ -146,9 +146,9 @@ public abstract class RecipeHandlerBase extends TemplateRecipeHandler {
|
||||
if (tank.position.contains(relMouse)) {
|
||||
if ((tank.fluid != null) && tank.fluid.amount > 0) {
|
||||
if (usage) {
|
||||
return GuiUsageRecipe.openRecipeGui("liquid", new Object[] {tank.fluid});
|
||||
return GuiUsageRecipe.openRecipeGui("liquid", tank.fluid);
|
||||
} else {
|
||||
return GuiCraftingRecipe.openRecipeGui("liquid", new Object[] {tank.fluid});
|
||||
return GuiCraftingRecipe.openRecipeGui("liquid", tank.fluid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user