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:
Alexander committed 2014-02-03 10:02:49 -05:00
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)