Fix wrong produce time in analyst

This commit is contained in:
kordum committed 2017-06-27 11:40:07 +03:00
1 parent f5a83016f5
commit f215990d8a
1 file changed
+1 -1
@@ -195,7 +195,7 @@ public class AnalystPageProducts extends AnalystPageProduce {
textWidget.setColor(getColor());
CraftGUIUtil.moveWidget(textWidget, new IPoint(12.0f, 0.0f));
item.setItemStack(key);
float time = (int) (PluginApiculture.ticksPerBeeWorkCycle * 100.0 / (speed * value));
float time = (int) (PluginApiculture.ticksPerBeeWorkCycle / (speed * value));
textWidget.setValue(I18N.localise("genetics.gui.analyst.produce.everyTime", getTimeString(time)));
}