Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix for dropping blocks with deleate on full on
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhilderbeast committed Mar 22, 2017
1 parent a76745a commit f55d4b8
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -62,7 +62,10 @@ public static void autoGive(Player player, ItemStack item)
SuperLoc.superLocs.remove(die.getPlayer().getLocation().getBlock().getLocation());
for (ItemStack spawn : die.getItems())
{
player.getWorld().dropItem(player.getLocation(), spawn);
if (!Config.deleteOnFull)
{
player.getWorld().dropItem(player.getLocation(), spawn);
}
}

return;
Expand Down

0 comments on commit f55d4b8

Please sign in to comment.