mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 02:27:33 +01: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
@ -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 New Issue
Block a user