Wyn-Price / SecretRooms

8 stars 8 forks source link

[1.18.2] Crash when destroying a blank Secret Rooms Mod interactable #85

Open FoxMcloud5655 opened 2 years ago

FoxMcloud5655 commented 2 years ago

When attempting to break an interactable block from Secret Rooms Mod when the block is invisible (such as placing a Secret Trapdoor adjacent to a Cable Facade from Applied Energistics 2), the game crashes with the following error:

java.lang.UnsupportedOperationException: No bounds for empty shape.
    at net.minecraft.world.phys.shapes.VoxelShape.m_83215_(VoxelShape.java:49) ~[client-1.18.2-20220404.173914-srg.jar%23324!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ferritecore.blockstatecache.mixin.json:VoxelShapeAccess,pl:mixin:A}
    at com.wynprice.secretrooms.server.blocks.SecretBaseBlock$1.addHitEffects(SecretBaseBlock.java:291) ~[secretrooms-1.18.2-1.1.5.jar%23270!/:1.18.2-1.1.5] {re:classloading}

Error report was shortened for readability; full error report available upon request if needed.