Update MainGame.java

Removed some unnecessary code.