micdoodle8/Galacticraft — pull request #809 by GenuineSounds (2014-08-08 12:21:21+00:00)
Title: FIXED: Inventory keybinding crash

It is impossible for keyboard key codes to be negative, most that are negative are mouse codes. Easy fix, this helps people that get a permanent crash if their inventory key binding is set to any mouse buttons.