Fix clientside call in nutrient distillation

This commit is contained in:
tterrag1098 committed 2014-09-12 19:35:33 -04:00
1 parent ee27da22c6
commit 9a81957909
1 file changed
+1 -4
@@ -90,10 +90,7 @@ public class BlockFluidEio extends BlockFluidClassic {
EntityPlayerMP player = (EntityPlayerMP) entity;
if(time % Config.nutrientFoodBoostDelay == 0 && player.getEntityData().getLong("eioLastFoodBoost") != time)
{
int food = player.getFoodStats().getFoodLevel();
float sat = player.getFoodStats().getSaturationLevel();
player.getFoodStats().setFoodLevel(food + 1);
player.getFoodStats().setFoodSaturationLevel(sat + 0.1f);
player.getFoodStats().addStats(1, 0.1f);
player.getEntityData().setLong("eioLastFoodBoost", time);
}
} else if (this == EnderIO.blockHootch && entity instanceof EntityLivingBase) {