Qualified field and method access
This commit is contained in:
@@ -160,21 +160,21 @@ public abstract class RotaryCraft extends IC2 implements AdvancedShaftPowerRecei
|
||||
public final ArrayList<String> getMessages( World world, int x, int y, int z, int side )
|
||||
{
|
||||
String out;
|
||||
if( power >= 1000000000 )
|
||||
if( this.power >= 1000000000 )
|
||||
{
|
||||
out = String.format( "Receiving %.3f GW @ %d rad/s.", power / 1000000000.0D, omega );
|
||||
out = String.format( "Receiving %.3f GW @ %d rad/s.", this.power / 1000000000.0D, this.omega );
|
||||
}
|
||||
else if( power >= 1000000 )
|
||||
else if( this.power >= 1000000 )
|
||||
{
|
||||
out = String.format( "Receiving %.3f MW @ %d rad/s.", power / 1000000.0D, omega );
|
||||
out = String.format( "Receiving %.3f MW @ %d rad/s.", this.power / 1000000.0D, this.omega );
|
||||
}
|
||||
else if( power >= 1000 )
|
||||
else if( this.power >= 1000 )
|
||||
{
|
||||
out = String.format( "Receiving %.3f kW @ %d rad/s.", power / 1000.0D, omega );
|
||||
out = String.format( "Receiving %.3f kW @ %d rad/s.", this.power / 1000.0D, this.omega );
|
||||
}
|
||||
else
|
||||
{
|
||||
out = String.format( "Receiving %d W @ %d rad/s.", power, omega );
|
||||
out = String.format( "Receiving %d W @ %d rad/s.", this.power, this.omega );
|
||||
}
|
||||
|
||||
ArrayList<String> messages = new ArrayList<String>( 1 );
|
||||
|
||||
Reference in New Issue
Block a user