mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 16:06:06 +00:00
getting really close
This commit is contained in:
1 parent
8ae89ba70e
commit
7c0fc5ed4a
21 files changed
+39
-39
No files matched your search
@@ -30,8 +30,8 @@ public abstract class DualHarvestTool extends HarvestTool
|
||||
Block block = player.worldObj.func_147439_a(x, y, z);
|
||||
if (block == null || block == Blocks.air)
|
||||
return false;
|
||||
int hlvl = block.getBlockHarvestLevel(meta, getHarvestType());
|
||||
int shlvl = block.getBlockHarvestLevel(meta, getSecondHarvestType());
|
||||
int hlvl = block.getHarvestLevel(meta);
|
||||
int shlvl = block.getHarvestLevel(meta);
|
||||
|
||||
if (hlvl <= tags.getInteger("HarvestLevel") && shlvl <= tags.getInteger("HarvestLevel2"))
|
||||
{
|
||||
@@ -70,7 +70,7 @@ public abstract class DualHarvestTool extends HarvestTool
|
||||
{
|
||||
float speed = tags.getInteger("MiningSpeed");
|
||||
speed /= 100f;
|
||||
int hlvl = block.getBlockHarvestLevel(meta, getHarvestType());
|
||||
int hlvl = block.getHarvestLevel(meta);
|
||||
int durability = tags.getInteger("Damage");
|
||||
|
||||
float shoddy = tags.getFloat("Shoddy");
|
||||
@@ -88,7 +88,7 @@ public abstract class DualHarvestTool extends HarvestTool
|
||||
{
|
||||
float speed = tags.getInteger("MiningSpeed2");
|
||||
speed /= 100f;
|
||||
int hlvl = block.getBlockHarvestLevel(meta, getHarvestType());
|
||||
int hlvl = block.getHarvestLevel(meta);
|
||||
int durability = tags.getInteger("Damage");
|
||||
|
||||
float shoddy = tags.getFloat("Shoddy");
|
||||
|
||||
Reference in new issue
Block a user