Non static access of static members

This commit is contained in:
yueh
2015-08-06 18:59:31 +02:00
parent a5287f6779
commit 67c901966e
5 changed files with 20 additions and 19 deletions
@@ -152,7 +152,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
{
if( Platform.isClient() )
{
return ( this.clientFlags & this.FLAG_ON ) == this.FLAG_ON;
return ( this.clientFlags & FLAG_ON ) == FLAG_ON;
}
if( !this.proxy.isActive() )
@@ -187,7 +187,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
@Override
protected int populateFlags( int cf )
{
return cf | ( this.prevState ? this.FLAG_ON : 0 );
return cf | ( this.prevState ? FLAG_ON : 0 );
}
@Override