1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

I said, fixed extra indentation

This commit is contained in:
Sfiguz7 2020-08-23 17:50:31 +02:00
parent 44451d6244
commit 89fdf45d28

View File

@ -69,7 +69,7 @@ class GiveCommand extends SubCommand {
Map<Integer,ItemStack> excess = p.getInventory().addItem(new CustomItem(sfItem.getItem(), amount));
if (SlimefunPlugin.getCfg().getBoolean("options.drop-excess-sf-give-items") && !excess.isEmpty()) {
for (ItemStack is : excess.values()) {
p.getWorld().dropItem(p.getLocation(), is);
p.getWorld().dropItem(p.getLocation(), is);
}
}