Merge branch 'master' of https://github.com/calclavia/Resonant-Induction
This commit is contained in:
commit
cf20ea9e96
1 changed files with 14 additions and 1 deletions
|
@ -38,7 +38,20 @@ public class TileEntityEMContractor extends TileEntity implements IPacketReceive
|
||||||
@Override
|
@Override
|
||||||
public void updateEntity()
|
public void updateEntity()
|
||||||
{
|
{
|
||||||
pushDelay = Math.max(0, pushDelay--);
|
pushDelay = Math.max(0, pushDelay-1);
|
||||||
|
|
||||||
|
if(suck)
|
||||||
|
{
|
||||||
|
System.out.println("SUCK");
|
||||||
|
}
|
||||||
|
if(pushDelay != 0)
|
||||||
|
{
|
||||||
|
System.out.println("MAH");
|
||||||
|
}
|
||||||
|
if(!isLatched())
|
||||||
|
{
|
||||||
|
System.out.println("NOOO");
|
||||||
|
}
|
||||||
|
|
||||||
if(!suck && pushDelay == 0 && isLatched())
|
if(!suck && pushDelay == 0 && isLatched())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue