Moved nonSolidLogic to a private method
Tried to improve logic while sneaking

It is 100% broken and nonfunctional if your sneaking, still can't place
on top or bottom of non-solid blocks.