From c530030e5d051b1e9c507d40bd2f1a0a4f344fc5 Mon Sep 17 00:00:00 2001 From: ementalo Date: Tue, 28 Jun 2011 10:13:18 +0100 Subject: [PATCH] sethome for others, missed from commit --- .../earth2me/essentials/commands/Commandsethome.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java index 531bcc26b..690214b22 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java @@ -29,10 +29,13 @@ public class Commandsethome extends EssentialsCommand usersHome.setHome(args[1].equalsIgnoreCase("default")); } } - charge(user); - user.sendMessage(Util.i18n("homeSet")); } - - + else + { + user.setHome(false); + } + charge(user); + user.sendMessage(Util.i18n("homeSet")); + } }