mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 23:03:18 +00:00
Fix #1203 Saplings don't make a sound when placed. Fix more of the farm.
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user