Typo Proessing
This commit is contained in:
parent
b534b0ed85
commit
557e76787b
3 changed files with 6 additions and 6 deletions
|
@ -41,7 +41,7 @@ public class GuiInscriber extends AEBaseGui
|
||||||
@Override
|
@Override
|
||||||
public void drawFG(int offsetX, int offsetY, int mouseX, int mouseY)
|
public void drawFG(int offsetX, int offsetY, int mouseX, int mouseY)
|
||||||
{
|
{
|
||||||
pb.max = cvc.maxProessingTime;
|
pb.max = cvc.maxProcessingTime;
|
||||||
pb.current = cvc.processingTime;
|
pb.current = cvc.processingTime;
|
||||||
pb.FullMsg = (pb.current * 100 / pb.max) + "%";
|
pb.FullMsg = (pb.current * 100 / pb.max) + "%";
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class ContainerInscriber extends AEBaseContainer
|
||||||
Slot bottom;
|
Slot bottom;
|
||||||
|
|
||||||
@GuiSync(0)
|
@GuiSync(0)
|
||||||
public int maxProessingTime = -1;
|
public int maxProcessingTime = -1;
|
||||||
|
|
||||||
@GuiSync(1)
|
@GuiSync(1)
|
||||||
public int processingTime = -1;
|
public int processingTime = -1;
|
||||||
|
@ -125,7 +125,7 @@ public class ContainerInscriber extends AEBaseContainer
|
||||||
|
|
||||||
if ( Platform.isServer() )
|
if ( Platform.isServer() )
|
||||||
{
|
{
|
||||||
this.maxProessingTime = myte.maxProessingTime;
|
this.maxProcessingTime = myte.maxProcessingTime;
|
||||||
this.processingTime = myte.processingTime;
|
this.processingTime = myte.processingTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class TileInscriber extends AENetworkPowerTile implements IGridTickable
|
||||||
|
|
||||||
AppEngInternalInventory inv = new AppEngInternalInventory( this, 4 );
|
AppEngInternalInventory inv = new AppEngInternalInventory( this, 4 );
|
||||||
|
|
||||||
public final int maxProessingTime = 100;
|
public final int maxProcessingTime = 100;
|
||||||
public int processingTime = 0;
|
public int processingTime = 0;
|
||||||
|
|
||||||
// cycles from 0 - 16, at 8 it preforms the action, at 16 it reenables the normal rotuine.
|
// cycles from 0 - 16, at 8 it preforms the action, at 16 it reenables the normal rotuine.
|
||||||
|
@ -377,9 +377,9 @@ public class TileInscriber extends AENetworkPowerTile implements IGridTickable
|
||||||
// :P
|
// :P
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( processingTime > maxProessingTime )
|
if ( processingTime > maxProcessingTime )
|
||||||
{
|
{
|
||||||
processingTime = maxProessingTime;
|
processingTime = maxProcessingTime;
|
||||||
InscriberRecipe out = getTask();
|
InscriberRecipe out = getTask();
|
||||||
if ( out != null )
|
if ( out != null )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue