Dunno if that works or not.

I *think* that might work, sorry if their are any java errors, I'm editing directly through github instead of using an IDE.