Non static access of static members

This commit is contained in:
yueh
2015-08-06 18:59:31 +02:00
committed by thatsIch
parent b0bb793a0e
commit 6488119318
5 changed files with 23 additions and 21 deletions
@@ -153,7 +153,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() )
@@ -188,7 +188,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