diff options
author | KHobbits <rob@khobbits.co.uk> | 2011-10-26 06:02:54 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2011-10-26 06:02:54 +0100 |
commit | d064c68875008a597cfe550a50846eb71b9c6fd2 (patch) | |
tree | cbf1b38981cb9f98204375e5cb396c20902330e2 | |
parent | 2bb45022d62e53c2aea08540cc3e8c39f28bf8e2 (diff) | |
download | Essentials-d064c68875008a597cfe550a50846eb71b9c6fd2.tar Essentials-d064c68875008a597cfe550a50846eb71b9c6fd2.tar.gz Essentials-d064c68875008a597cfe550a50846eb71b9c6fd2.tar.lz Essentials-d064c68875008a597cfe550a50846eb71b9c6fd2.tar.xz Essentials-d064c68875008a597cfe550a50846eb71b9c6fd2.zip |
Fixing invsee error.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandinvsee.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandinvsee.java b/Essentials/src/com/earth2me/essentials/commands/Commandinvsee.java index 07710d40a..2a730b533 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandinvsee.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandinvsee.java @@ -31,7 +31,8 @@ public class Commandinvsee extends EssentialsCommand { invUser.getInventory().setContents(user.getSavedInventory()); user.setSavedInventory(null); - throw new Exception(Util.i18n("invRestored")); + user.sendMessage(Util.i18n("invRestored")); + throw new NoChargeException(); } if (user.getSavedInventory() == null) |