From 1af166b1c2d9f02ca6c0e5ab5e8d050945fce242 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Fri, 10 Jun 2011 14:26:30 -0500 Subject: [PATCH] fix for /f save causing NPE when run from console --- src/org/mcteam/factions/commands/FCommandSaveAll.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mcteam/factions/commands/FCommandSaveAll.java b/src/org/mcteam/factions/commands/FCommandSaveAll.java index 69e8a974..e9685e10 100644 --- a/src/org/mcteam/factions/commands/FCommandSaveAll.java +++ b/src/org/mcteam/factions/commands/FCommandSaveAll.java @@ -22,7 +22,7 @@ public class FCommandSaveAll extends FBaseCommand { public void perform() { Factions.saveAll(); - me.sendMessage("Factions saved to disk!"); + sendMessage("Factions saved to disk!"); } }