mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2026-01-04 15:41:35 +00:00
Update BukkitActionManager.java
This commit is contained in:
@@ -462,7 +462,7 @@ public class BukkitActionManager implements ActionManager<Player> {
|
||||
ItemStack more = itemStack.clone();
|
||||
more.setAmount(perStackSize);
|
||||
if (toInventory) {
|
||||
PlayerUtils.giveItem(player, more, itemStack.getAmount());
|
||||
PlayerUtils.giveItem(player, more, more.getAmount());
|
||||
} else {
|
||||
PlayerUtils.dropItem(player, more, true, true, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user