Multiverse/Multiverse-Inventories — Issue #4: NullPointeException in MultiInv Convertor
Author: Xefir
Created: 2012-01-22 18:09:16+00:00
State: open

Hello

Some unformated yml of MultiInv can produce a NullPointerException and crash the plugin.
The error is at line 19 of MiInventoryConverter :

Change this :

if (oldContents[i].getItemStack() != null) {

to this :

if (oldContents[i] != null && oldContents[i].getItemStack() != null) {

Thank you again.
Regards,
Xéfir Destiny