Changed access to use this qualifier

This commit is contained in:
yueh
2014-12-29 15:13:47 +01:00
parent 2a5e57a59b
commit f471513bd0
604 changed files with 11573 additions and 11573 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ public enum PartRegistry
public String getName()
{
return name;
return this.name;
}
private PartRegistry(String name, Class<? extends AEBaseBlock> blk, Class<? extends TMultiPart> part) {
@@ -49,9 +49,9 @@ public enum PartRegistry
try
{
if ( this == CableBusPart )
return (TMultiPart) Api.instance.partHelper.getCombinedInstance( part.getName() ).newInstance();
return (TMultiPart) Api.instance.partHelper.getCombinedInstance( this.part.getName() ).newInstance();
else
return part.getConstructor( int.class ).newInstance( meta );
return this.part.getConstructor( int.class ).newInstance( meta );
}
catch (Throwable t)
{