Merge pull request #178 from thatsIch/Redundant

Removed redundant array creations just to match varargs operations
This commit is contained in:
Chris
2014-09-29 14:06:27 -07:00
23 changed files with 45 additions and 40 deletions
+2 -2
View File
@@ -106,8 +106,8 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
try
{
ResourceLocation resLoc = new ResourceLocation( Name );
resLoc = new ResourceLocation( resLoc.getResourceDomain(), String.format( "%s/%s%s", new Object[] { "textures/blocks",
resLoc.getResourcePath(), ".png" } ) );
resLoc = new ResourceLocation( resLoc.getResourceDomain(), String.format( "%s/%s%s", "textures/blocks",
resLoc.getResourcePath(), ".png" ) );
IResource res = Minecraft.getMinecraft().getResourceManager().getResource( resLoc );
if ( res != null )