Update MVPGadgets.java

Fixed potential ArrayIndexOutOfBounds exception on line 77.