Fixed Entropy manipulator power usage case.
This commit is contained in:
parent
b54c55a05e
commit
771ba23c0d
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem
|
||||||
|
|
||||||
if ( w.isAirBlock( x, y, z ) )
|
if ( w.isAirBlock( x, y, z ) )
|
||||||
{
|
{
|
||||||
|
extractAEPower( item, 1600 );
|
||||||
w.playSoundEffect( (double) x + 0.5D, (double) y + 0.5D, (double) z + 0.5D, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F );
|
w.playSoundEffect( (double) x + 0.5D, (double) y + 0.5D, (double) z + 0.5D, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F );
|
||||||
w.setBlock( x, y, z, Block.fire.blockID );
|
w.setBlock( x, y, z, Block.fire.blockID );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue