ActionResultType in onActivated

This commit is contained in:
Sebastian Hartte
2020-06-02 19:15:23 +02:00
parent 3e78c713d1
commit cf9ab8a13b
42 changed files with 135 additions and 181 deletions
@@ -188,7 +188,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
}
}
if( p.isShiftKeyDown() )
if( p.isCrouching() )
{
this.cycleColors( is, paintBall, 1 );
}
@@ -256,7 +256,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
final BlockState state = w.getBlockState( pos );
final Block blockID = state.getBlock();
if( p.isShiftKeyDown() )
if( p.isCrouching() )
{
if( this.canCool( state ) )
{