mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-03 12:31:46 +00:00
Cleanup worth and sell messages
This commit is contained in:
parent
4eef8b5e84
commit
59515aed94
3 changed files with 17 additions and 4 deletions
|
@ -181,7 +181,12 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb
|
|||
{
|
||||
is.add(get(args[0]));
|
||||
}
|
||||
|
||||
|
||||
if (is.isEmpty() || is.get(0).getType() == Material.AIR)
|
||||
{
|
||||
throw new Exception(_("itemSellAir"));
|
||||
}
|
||||
|
||||
return is;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue