From 94b424b8dc50d216cac31607baed2be0412948e3 Mon Sep 17 00:00:00 2001 From: Magnus Ulf Date: Tue, 2 Mar 2021 21:29:36 +0100 Subject: [PATCH] Attempt fix #82 --- src/com/massivecraft/factions/cmd/CmdFactionsMotd.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsMotd.java b/src/com/massivecraft/factions/cmd/CmdFactionsMotd.java index e4d22928..2d30f543 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsMotd.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsMotd.java @@ -42,8 +42,11 @@ public class CmdFactionsMotd extends FactionsCommand // Args String target = this.readArg(); - target = target.trim(); - target = Txt.parse(target); + if (target != null) + { + target = target.trim(); + target = Txt.parse(target); + } // Get Old String old = msenderFaction.getMotd();