mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
Fixed more misc. bugs
This commit is contained in:
1 parent
edc97ef256
commit
f217267601
3 files changed
+6
-3
No files matched your search
@@ -47,7 +47,7 @@ public class Mattock extends DualHarvestTool
|
||||
return "shovel";
|
||||
}
|
||||
|
||||
static Material[] axeMaterials = { Material.wood, Material.cactus };// TODO
|
||||
static Material[] axeMaterials = { Material.wood, Material.cactus, Material.plants, Material.vine };// TODO
|
||||
// find
|
||||
// this//,
|
||||
// Material.pumpkin,
|
||||
|
||||
@@ -31,9 +31,9 @@ public abstract class DualHarvestTool extends HarvestTool
|
||||
return false;
|
||||
int hlvl = -1;
|
||||
int shlvl = -1;
|
||||
if (block.getHarvestTool(meta).equals(getHarvestType()))
|
||||
if (block.getHarvestTool(meta) == null || block.getHarvestTool(meta).equals(getHarvestType()))
|
||||
hlvl = block.getHarvestLevel(meta);
|
||||
if (block.getHarvestTool(meta).equals(getSecondHarvestType()))
|
||||
if (block.getHarvestTool(meta) == null || block.getHarvestTool(meta).equals(getSecondHarvestType()))
|
||||
shlvl = block.getHarvestLevel(meta);
|
||||
|
||||
if (hlvl <= tags.getInteger("HarvestLevel") && shlvl <= tags.getInteger("HarvestLevel2"))
|
||||
|
||||
Reference in new issue
Block a user