Fix #1203 Saplings don't make a sound when placed. Fix more of the farm.

This commit is contained in:
mezz committed 2016-05-22 23:45:45 -07:00
1 parent 4ae72d7550
commit 55d35c4cbe
41 files changed
+233 -259

No files matched your search

@@ -19,6 +19,7 @@ import net.minecraft.world.World;
import forestry.api.farming.ICrop;
import forestry.api.farming.IFarmable;
import forestry.core.utils.BlockUtil;
public class FarmableGourd implements IFarmable {
@@ -59,7 +60,7 @@ public class FarmableGourd implements IFarmable {
@Override
public boolean plantSaplingAt(EntityPlayer player, ItemStack germling, World world, BlockPos pos) {
return world.setBlockState(pos, stem.getDefaultState());
return BlockUtil.setBlockWithPlaceSound(world, pos, stem.getDefaultState());
}
}