diff --git a/CHANGELOG.md b/CHANGELOG.md index 682ec0248..be6a6065e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,9 @@ ### 1.5.10 - Converted Solderer recipes to JSON (raoulvdberge) - Implemented controller update throttling, should fix lag issues with controllers that constantly turn off and on (raoulvdberge) +- Fixed crash relating to MCMP (raoulvdberge) ### 1.5.9 -- Fixed crash relating to MCMP (raoulvdberge) - Fixed not being able to extract anything when connecting an External Storage to Storage Drawers (raoulvdberge) ### 1.5.8 diff --git a/src/main/java/com/raoulvdberge/refinedstorage/integration/mcmp/RSMCMPAddon.java b/src/main/java/com/raoulvdberge/refinedstorage/integration/mcmp/RSMCMPAddon.java index 226b56258..e74e9d132 100644 --- a/src/main/java/com/raoulvdberge/refinedstorage/integration/mcmp/RSMCMPAddon.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/integration/mcmp/RSMCMPAddon.java @@ -125,8 +125,8 @@ public class RSMCMPAddon implements IMCMPAddon { public static TileEntity unwrapTile(IBlockAccess world, BlockPos pos) { TileEntity tile = world.getTileEntity(pos); - if (tile instanceof TileMultipartContainer.Ticking) { - Optional multipartTile = ((TileMultipartContainer.Ticking) tile).getPartTile(EnumCenterSlot.CENTER); + if (tile instanceof TileMultipartContainer) { + Optional multipartTile = ((TileMultipartContainer) tile).getPartTile(EnumCenterSlot.CENTER); if (multipartTile.isPresent()) { return multipartTile.get().getTileEntity();