summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsethome.java11
1 files 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"));
+
}
}