mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 02:27:33 +01:00
Fixing invsee error.
This commit is contained in:
parent
2bb45022d6
commit
d064c68875
@ -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 New Issue
Block a user