mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Revert "Don't require extra argument to see armor with invsee. Resolves #472."
Handling this with armor and without NMS isn't clean. Advise using OpenInv if players want extended capability.
This reverts commit 6eb63fd3fd
.
This commit is contained in:
parent
65f2051e87
commit
e6d177c09a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class Commandinvsee extends EssentialsCommand {
|
|||
final User invUser = getPlayer(server, user, args, 0);
|
||||
Inventory inv;
|
||||
|
||||
if (user.isAuthorized("essentials.invsee.equip")) {
|
||||
if (args.length > 1 && user.isAuthorized("essentials.invsee.equip")) {
|
||||
inv = server.createInventory(invUser.getBase(), 9, "Equipped");
|
||||
inv.setContents(invUser.getBase().getInventory().getArmorContents());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue