diff --git a/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java b/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java index 884bc9869..f3bc57bfb 100644 --- a/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java +++ b/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java @@ -51,8 +51,10 @@ public void onLivingEntityDeath(LivingDeathEvent event) final int count = RandomUtils.range(rng, GrowthCraftMilk.getConfig().stomachMinDropped, GrowthCraftMilk.getConfig().stomachMaxDropped); if (count > 0) { - final ItemStack stack = GrowthCraftMilk.items.stomach.asStack(count); - ItemUtils.spawnItemStackAtEntity(stack, event.entityLiving, rng); + if (!event.entity.worldObj.isRemote) { + final ItemStack stack = GrowthCraftMilk.items.stomach.asStack(count); + ItemUtils.spawnItemStackAtEntity(stack, event.entityLiving, rng); + } } } }