Upload my Code Changes/Format/imports

This commit is contained in:
Alexander committed 2014-02-16 14:23:50 -05:00
1 parent 5bcdb7ca46
commit 5d4e38c0cb
264 files changed
+4014 -3972

No files matched your search

@@ -30,7 +30,7 @@ public abstract class HarvestTool extends ToolCore
World world = player.worldObj;
Block block = player.worldObj.getBlock(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
//Block block = Block.blocksList[bID];
// Block block = Block.blocksList[bID];
if (block == null || block == Blocks.air)
return false;
int hlvl = -1;
@@ -130,7 +130,9 @@ public abstract class HarvestTool extends ToolCore
}
if (block.getHarvestLevel(meta) > 0)
{
return calculateStrength(tags, block, meta); //No issue if the harvest level is too low
return calculateStrength(tags, block, meta); // No issue if the
// harvest level is
// too low
}
return super.getDigSpeed(stack, block, meta);
}