Skip to content

Commit a64eaca

Browse files
committed
Merge branch 'master' into dev
2 parents 8358632 + d580330 commit a64eaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/blockrenderer6343/integration/structurelib/StructureCompatNEIHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected void tryLoadingMultiblock(ItemStack candidate) {
3737
Block block = ib.field_150939_a;
3838
if (block.hasTileEntity(candidate.getItemDamage())) {
3939
TileEntity te = block.createTileEntity(DummyWorld.INSTANCE, ib.getMetadata(candidate.getItemDamage()));
40-
if (IMultiblockInfoContainer.contains(te.getClass())) {
40+
if (te != null && IMultiblockInfoContainer.contains(te.getClass())) {
4141
baseHandler.setOnIngredientChanged(ingredients -> {
4242
this.ingredients = ingredients;
4343
resetPositionedIngredients();

0 commit comments

Comments
 (0)