From 771edea34cde7b20848617c494f36f31e3a96692 Mon Sep 17 00:00:00 2001 From: ulumulu1510 Date: Tue, 29 Sep 2015 15:30:05 +0200 Subject: [PATCH] Ignore null arguments in the commandLine generation method. --- src/com/massivecraft/massivecore/cmd/MassiveCommand.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/massivecraft/massivecore/cmd/MassiveCommand.java b/src/com/massivecraft/massivecore/cmd/MassiveCommand.java index 13979b72..97e6d6cd 100644 --- a/src/com/massivecraft/massivecore/cmd/MassiveCommand.java +++ b/src/com/massivecraft/massivecore/cmd/MassiveCommand.java @@ -1022,6 +1022,9 @@ public class MassiveCommand // Then args for (String arg : args) { + // Check if null + if (arg == null) continue; + // First a space ret.append(' ');