mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Fix a possible division by zero in the NEI plugins. Probably depends on java implementation. #1037
This commit is contained in:
1 parent
457ad128f9
commit
62c2956012
1 file changed
+1
-1
@@ -45,7 +45,7 @@ public class RecipeHandlerToolMaterials extends RecipeHandlerBase
|
||||
@Override
|
||||
public PositionedStack getIngredient ()
|
||||
{
|
||||
return this.toolParts.get(cycleticks / 20 % this.toolParts.size());
|
||||
return this.toolParts.get((cycleticks / 20) % this.toolParts.size());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user