mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 05:54:34 +00:00
under 1k finally
This commit is contained in:
1 parent
9b78521c73
commit
f3bcb13815
23 files changed
+80
-58
No files matched your search
@@ -30,7 +30,7 @@ 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 hlvl = block.getBlockHarvestLevel(meta, getHarvestType());
|
||||
int shlvl = block.getBlockHarvestLevel(meta, getSecondHarvestType());
|
||||
|
||||
if (hlvl <= tags.getInteger("HarvestLevel") && shlvl <= tags.getInteger("HarvestLevel2"))
|
||||
|
||||
Reference in new issue
Block a user