mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Fixing invsee error.
This commit is contained in:
parent
2bb45022d6
commit
d064c68875
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ public class Commandinvsee extends EssentialsCommand
|
||||||
{
|
{
|
||||||
invUser.getInventory().setContents(user.getSavedInventory());
|
invUser.getInventory().setContents(user.getSavedInventory());
|
||||||
user.setSavedInventory(null);
|
user.setSavedInventory(null);
|
||||||
throw new Exception(Util.i18n("invRestored"));
|
user.sendMessage(Util.i18n("invRestored"));
|
||||||
|
throw new NoChargeException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user.getSavedInventory() == null)
|
if (user.getSavedInventory() == null)
|
||||||
|
|
Loading…
Reference in a new issue