Fix #6 by providing non-null BlockGetter and BlockPos values to state.isFaceSturdy in FrameBlock::checkConnection (formerly FrameBlock::validConnection).
Make it so checkConnection only checks the adjacent face of the neighboring block.
Invert the return value of checkConnection inside the function body, because every use of that function was already inverted anyway.
Optimize and inline getConnections.
Fix #6 by providing non-null
BlockGetter
andBlockPos
values tostate.isFaceSturdy
inFrameBlock::checkConnection
(formerlyFrameBlock::validConnection
). Make it socheckConnection
only checks the adjacent face of the neighboring block. Invert the return value ofcheckConnection
inside the function body, because every use of that function was already inverted anyway. Optimize and inlinegetConnections
.