mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Use dropItem instead of dropItemNaturally (#3644)
This could possibly eliminate a few issues.
This commit is contained in:
parent
2cdb17d64f
commit
d2b8c527ad
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user