Update MainBlock.java

Adding portal trigger