Fixing invsee error.

This commit is contained in:
KHobbits 2011-10-26 06:02:54 +01:00
parent 2bb45022d6
commit d064c68875

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)