mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fix the errors that were left, I commeneted our some code in SmelteryLogic for right now, Also changed the way ArrowEntity Sends the ChangeGameState
This commit is contained in:
1 parent
840e0cee04
commit
fffe2800bd
18 files changed
+45
-33
No files matched your search
@@ -58,7 +58,7 @@ public abstract class HarvestTool extends ToolCore
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getStrVsBlock (ItemStack stack, Block block, int meta)
|
||||
public float getDigSpeed (ItemStack stack, Block block, int meta)
|
||||
{
|
||||
if (!stack.hasTagCompound())
|
||||
return 1.0f;
|
||||
@@ -79,7 +79,7 @@ public abstract class HarvestTool extends ToolCore
|
||||
{
|
||||
return calculateStrength(tags, block, meta); //No issue if the harvest level is too low
|
||||
}
|
||||
return super.getStrVsBlock(stack, block, meta);
|
||||
return super.getDigSpeed(stack, block, meta);
|
||||
}
|
||||
|
||||
float calculateStrength (NBTTagCompound tags, Block block, int meta)
|
||||
|
||||
Reference in new issue
Block a user