quick fix : Redundant local variable

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 25522dae75
commit d44b7ece32
16 files changed
+23 -55

No files matched your search

@@ -31,7 +31,7 @@ public class CraftingSlab extends InventorySlab {
/* Rendering */
@Override
public String[] getTextureNames() {
String[] textureNames = {
return new String[]{
"craftingstation_top",
"craftingstation_slab_side",
"craftingstation_bottom",
@@ -51,8 +51,6 @@ public class CraftingSlab extends InventorySlab {
"toolforge_slab_side",
"toolforge_top"
};
return textureNames;
}
@Override
@@ -30,9 +30,7 @@ public class CraftingStationBlock extends InventoryBlock {
/* Rendering */
@Override
public String[] getTextureNames() {
String[] textureNames = {"craftingstation_top", "craftingstation_side", "craftingstation_bottom"};
return textureNames;
return new String[]{"craftingstation_top", "craftingstation_side", "craftingstation_bottom"};
}
@Override
@@ -44,9 +44,7 @@ public class FurnaceSlab extends InventorySlab {
@Override
public String[] getTextureNames() {
String[] textureNames = {"furnaceslab_front", "furnaceslab_front_active", "furnaceslab_side", "furnace_top"};
return textureNames;
return new String[]{"furnaceslab_front", "furnaceslab_front_active", "furnaceslab_side", "furnace_top"};
}
@Override
@@ -35,7 +35,7 @@ public class ToolStationBlock extends InventoryBlock {
/* Rendering */
@Override
public String[] getTextureNames() {
String[] textureNames = {
return new String[]{
"toolstation_top",
"toolstation_side",
"toolstation_bottom",
@@ -67,8 +67,6 @@ public class ToolStationBlock extends InventoryBlock {
"stenciltable_jungle_side",
"stenciltable_jungle_bottom"
};
return textureNames;
}
@Override