Correct soil life calculation for waila(now says 100% when full)
@@ -19,7 +19,7 @@ public class WailaRootyHandler implements IWailaDataProvider {
if(state.getBlock() instanceof BlockRooty) {
BlockRooty rooty = (BlockRooty) state.getBlock();
int life = rooty.getSoilLife(state, accessor.getWorld(), accessor.getPosition());
- tooltip.add("Soil Life: " + MathHelper.floor(life * 6.25f) + "%");
+ tooltip.add("Soil Life: " + MathHelper.floor(life * 100 / 15) + "%");
}
return tooltip;
