Removed redundant array creations just to match varargs operations
This commit is contained in:
@@ -280,7 +280,7 @@ public class AEConfig extends Configuration implements IConfigurableObject, ICon
|
||||
ModContainer imb = cpw.mods.fml.common.Loader.instance().getIndexedModList().get( "ImmibisCore" );
|
||||
if ( imb != null )
|
||||
{
|
||||
List<String> version = Arrays.asList( new String[] { "59.0.0", "59.0.1", "59.0.2" } );
|
||||
List<String> version = Arrays.asList( "59.0.0", "59.0.1", "59.0.2" );
|
||||
if ( version.contains( imb.getVersion() ) )
|
||||
featureFlags.remove( AEFeature.AlphaPass );
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ public class WorldSettings extends Configuration
|
||||
{
|
||||
try
|
||||
{
|
||||
manager.scheduleOutboundPacket( (new PacketNewStorageDimension( newDim )).getProxy(), new GenericFutureListener[0] );
|
||||
manager.scheduleOutboundPacket( (new PacketNewStorageDimension( newDim )).getProxy() );
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ public enum Stats
|
||||
{
|
||||
if ( stat == null )
|
||||
{
|
||||
stat = new StatBasic( "stat.ae2." + name(), new ChatComponentTranslation( "stat.ae2." + name(), new Object[0] ) );
|
||||
stat = new StatBasic( "stat.ae2." + name(), new ChatComponentTranslation( "stat.ae2." + name() ) );
|
||||
stat.registerStat();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user