Changing if to return for portal and coin gate
Changing if to return for portal and coin gate

The visibility is directly dependent on the type of block so just make
it return the type of block

Seist/Skylight