Use dropItem instead of dropItemNaturally (#3644)

This could possibly eliminate a few issues.
This commit is contained in:
LogGits 2018-12-15 10:51:44 +10:00 committed by t00thpick1
parent 2cdb17d64f
commit d2b8c527ad

View File

@ -157,7 +157,7 @@ public final class ShareHandler {
private static void awardDrop(Player winningPlayer, ItemStack drop) {
if (winningPlayer.getInventory().addItem(drop).size() != 0) {
winningPlayer.getWorld().dropItemNaturally(winningPlayer.getLocation(), drop);
winningPlayer.getWorld().dropItem(winningPlayer.getLocation(), drop);
}
winningPlayer.updateInventory();