mirror of
https://github.com/ViaVersion/ViaRewind-Legacy-Support.git
synced 2025-01-24 21:21:50 +01:00
Use dropItem instead
This commit is contained in:
parent
13e10b5b39
commit
2b447021dd
@ -61,7 +61,7 @@ public class EnchantingListener implements Listener {
|
||||
if (!remaining.isEmpty()) {
|
||||
Location location = player.getLocation();
|
||||
for (ItemStack value : remaining.values()) {
|
||||
player.getWorld().dropItemNaturally(location, value);
|
||||
player.getWorld().dropItem(location, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user