From 036f7a720e4f3125d84f79361379d934feb67cc1 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Thu, 15 Oct 2015 15:02:35 +0200 Subject: [PATCH] Fix Mson NPE --- src/com/massivecraft/massivecore/mson/Mson.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/massivecore/mson/Mson.java b/src/com/massivecraft/massivecore/mson/Mson.java index 79211cb9..20cee32c 100644 --- a/src/com/massivecraft/massivecore/mson/Mson.java +++ b/src/com/massivecraft/massivecore/mson/Mson.java @@ -272,7 +272,7 @@ public class Mson implements Serializable public Mson add(Iterable parts) { - List extra = new ArrayList(this.getExtra()); + List extra = new MassiveList(this.getExtra()); List msons = msons(parts); extra.addAll(msons); return this.extra(extra);