summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java b/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java
index 8370896b1..ded3ffdaf 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java
@@ -41,12 +41,11 @@ public class Commandbigtree extends EssentialsCommand
final boolean success = user.getWorld().generateTree(safeLocation, (TreeType)tree);
if (success)
{
- charge(user);
user.sendMessage(Util.i18n("bigTreeSuccess"));
}
else
{
- user.sendMessage(Util.i18n("bigTreeFailure"));
+ throw new Exception(Util.i18n("bigTreeFailure"));
}
}
}