mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-24 17:12:03 +01:00
Merge branch 'master' into release
This commit is contained in:
commit
621618e41f
@ -55,7 +55,8 @@ public class Commandunlimited extends EssentialsCommand
|
||||
return;
|
||||
}
|
||||
|
||||
ItemStack stack = ess.getItemDb().get(args[0], 2);
|
||||
final ItemStack stack = ess.getItemDb().get(args[0], 1);
|
||||
stack.setAmount(stack.getType().getMaxStackSize());
|
||||
|
||||
String itemname = stack.getType().toString().toLowerCase().replace("_", "");
|
||||
if (!user.isAuthorized("essentials.unlimited.item-all")
|
||||
|
Loading…
Reference in New Issue
Block a user