mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
don't return setBlockState in the multiblock maker
This commit is contained in:
parent
646395aa70
commit
c07118de2a
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ public class ItemMultiblockMaker extends ItemImpl {
|
|||
return EnumActionResult.PASS;
|
||||
|
||||
if (!worldIn.isRemote)
|
||||
multi.forEach(pos.up(), (char) 0, (blockPos, matcher) -> worldIn.setBlockState(blockPos, matcher.defaultState));
|
||||
multi.forEach(pos.up(), (char) 0, (blockPos, matcher) -> {
|
||||
worldIn.setBlockState(blockPos, matcher.defaultState);
|
||||
return true;
|
||||
});
|
||||
|
||||
return EnumActionResult.SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue