fix buckets in stripes pipes not working with custom air blocks
This commit is contained in:
parent
90537a8909
commit
2215e3299d
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ public class StripesHandlerBucket implements IStripesHandler {
|
|||
public boolean handle(World world, int x, int y, int z,
|
||||
ForgeDirection direction, ItemStack stack, EntityPlayer player,
|
||||
IStripesActivator activator) {
|
||||
Block block = world.getBlock(x, y, z);
|
||||
if (block == Blocks.air) {
|
||||
if (world.isAirBlock(x, y, z)) {
|
||||
Block underblock = world.getBlock(x, y - 1, z);
|
||||
|
||||
if (((ItemBucket) stack.getItem()).tryPlaceContainedLiquid(world, x, y - 1, z)) {
|
||||
|
|
Loading…
Reference in a new issue