Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Fixed Div/0 error.
Browse files Browse the repository at this point in the history
...it crept in when I switched from using the Arithmetic mean to the
Geometric mean. Sorry.
  • Loading branch information
talonos2 committed Oct 19, 2014
1 parent f5dd64d commit 8779ebf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -266,7 +266,7 @@ private static float getXPMulter(ItemStack tool, NBTTagCompound tags)
ToolCore core = (ToolCore) tool.getItem();

double numberOfParts = 0;
double xpModSoFar = 0;
double xpModSoFar = 1;

if(ReplacementLogic.getPart(core, HEAD) != null)
{
Expand Down

0 comments on commit 8779ebf

Please sign in to comment.