Added the same NULL check to the generic Bukkit unwrapper.
Dieser Commit ist enthalten in:
Ursprung
57add8e26f
Commit
768d169f27
@ -45,8 +45,10 @@ public class BukkitUnwrapper implements Unwrapper {
|
||||
@Override
|
||||
public Object unwrapItem(Object wrappedObject) {
|
||||
|
||||
// Special case
|
||||
if (wrappedObject instanceof Collection) {
|
||||
// Special cases
|
||||
if (wrappedObject == null) {
|
||||
return null;
|
||||
} else if (wrappedObject instanceof Collection) {
|
||||
return handleCollection((Collection<Object>) wrappedObject);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren