Chicken-Bones / ForgeMultipart

An API for dynamically handling different functional parts in the one block space.
Other
119 stars 56 forks source link

ArrayIndexOutOfBoundsException on placing multipart at Y=-1 #385

Open polysillycon opened 8 years ago

polysillycon commented 8 years ago

It appears that the codechicken.multipart.MultipartGenerator function threw an error when I accidentally placed a nook multipart at Y=-1 (clicking the bottom of a slab that was positioned at Y=0). It appears that the functions lack bounds checking.

Crash report at http://pastebin.com/AqNzyvND