In my packet handler, I'm getting an exception every time I attempt to manipulate any item in a slot that isn't the hot-bar (0-8 is fine, 9-40 causes exception)
Example, this code (line 16):
produces this exception (yes there's an item in slot 9):
Any ideas? Need more information?