1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-11 17:15:07 +02:00

Fixing invsee error.

This commit is contained in:
KHobbits
2011-10-26 06:02:54 +01:00
parent eaad3f0350
commit 7895a2fc5a

View File

@@ -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)