fix mining well not calling super when placed down
This commit is contained in:
parent
e28a74b771
commit
78091876ad
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue