From c07118de2a9c89af685f603ecfdc9ddde7a2055b Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 7 Nov 2018 13:38:10 +0100 Subject: [PATCH] don't return setBlockState in the multiblock maker --- .../de/ellpeck/naturesaura/items/ItemMultiblockMaker.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/naturesaura/items/ItemMultiblockMaker.java b/src/main/java/de/ellpeck/naturesaura/items/ItemMultiblockMaker.java index be5a1867..8c56f5bf 100644 --- a/src/main/java/de/ellpeck/naturesaura/items/ItemMultiblockMaker.java +++ b/src/main/java/de/ellpeck/naturesaura/items/ItemMultiblockMaker.java @@ -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; }