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
@@ -96,7 +96,7 @@ public class TileCubeGenerator extends AEBaseTile implements ITickableTileEntity
{
this.is = ItemStack.EMPTY;
if( player.isShiftKeyDown() )
if( player.isCrouching() )
{
this.size--;
}
@@ -63,7 +63,7 @@ public class ToolDebugCard extends AEBaseItem
return EnumActionResult.PASS;
}
if( player.isShiftKeyDown() )
if( player.isCrouching() )
{
int grids = 0;
int totalNodes = 0;
@@ -57,7 +57,7 @@ public class ToolReplicatorCard extends AEBaseItem
int y = pos.getY();
int z = pos.getZ();
if( player.isShiftKeyDown() )
if( player.isCrouching() )
{
if( world.getTileEntity( pos ) instanceof IGridHost )
{