fix mining well not calling super when placed down

This commit is contained in:
AEnterprise 2014-09-16 21:07:37 +02:00
parent e28a74b771
commit 78091876ad

View file

@ -61,6 +61,7 @@ public class BlockMiningWell extends BlockBuildCraft {
@Override
public void onBlockPlacedBy(World world, int i, int j, int k, EntityLivingBase entityliving, ItemStack stack) {
super.onBlockPlacedBy(world, i, j, k, entityliving, stack);
ForgeDirection orientation = Utils.get2dOrientation(entityliving);
world.setBlockMetadataWithNotify(i, j, k, orientation.getOpposite().ordinal(), 1);
}