Skip to content
Success

Changes

Summary

  1. Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold (details)
  2. SPIGOT-4619: Incorrect packet order for villager inventories (details)
Commit d158f2e99336a16a48196d182ffc013367ee9f56 by md_5
Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
Without this change the calculation of fitting items was incorrect, so
event.getRemaining() did return 0 when it should not be 0.
The file was addedsrc/test/java/org/bukkit/craftbukkit/inventory/PlayerInventoryTest.java
The file was modified nms-patches/PlayerInventory.patch
Commit 51c118b1d7f6ed9847fa853081e1eed67ddeb293 by md_5
SPIGOT-4619: Incorrect packet order for villager inventories
The file was modified nms-patches/EntityPlayer.patch