Commit Graph

19 Commits

Author SHA1 Message Date
403db04ae4 Prevent duplicate pickup event for piglins (#11322) 2024-08-25 19:27:31 +02:00
a0f4d303eb 788/1053 2024-06-13 18:30:23 -07:00
0ef31547a1 Finish API patches 2024-06-13 08:45:43 -07:00
060e370a08 more more work (806) 2024-04-24 23:23:56 +02:00
47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
1863ac217f Updated Upstream (Bukkit/CraftBukkit/Spigot) (#10277)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
9a80d38c SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-722: Add EntityRemoveEvent
258086d9 SPIGOT-7417, PR-967: Add Sign#getTargetSide and Sign#getAllowedEditor
ffaba051 SPIGOT-7584: Add missing Tag.ITEMS_NON_FLAMMABLE_WOOD

CraftBukkit Changes:
98b6c1ac7 SPIGOT-7589 Fix NullPointerException when bans expire
a2736ddb0 SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-1008: Add EntityRemoveEvent
5bf12cb89 SPIGOT-7565: Throw a more descriptive error message when a developer tries to spawn an entity from a CraftBukkit class
76d95fe7e SPIGOT-7417, PR-1343: Add Sign#getTargetSide and Sign#getAllowedEditor

Spigot Changes:
e9ec5485 Rebuild patches
f1b62e0c Rebuild patches
2024-02-23 14:37:33 +01:00
16f89b4fa7 [ci skip] Add more identifying patch comments 2024-01-18 15:56:25 +01:00
0087658702 Patches!!! MORE 2023-12-06 11:21:56 -05:00
46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
8b711f86a3 Call LivingEntity#onItemPickup before mutation (#9948)
The existing EntityPickupItemEvent fixes patch moves the call to LivingEntity#onItemPickup for piglins after the respective EntityPickupItemEvent calls, which is correct.
However the patch moved the call so far down the line that the existing logic already mutated the picked up item entity, leading to faulty state being passed to the onItemPickup method.

To prevent logic in LivingEntity#onItemPickup to read from an ItemEntity that was already mutated, this commit moves the calls prior to the two respective mutations (either gold_nugget or rest).

This was chosen above taking a copy of the original item and restoring state later on to avoid a full item stack clone.
2023-11-17 07:43:25 +01:00
411f78293c more more more more more more more more more more more work: passing the torch 2023-09-22 17:51:48 +02:00
524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
f328e1ae26 vine boom sound 2023-06-08 04:47:19 -04:00
1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
b5f8080674 More more more more more more more more patches 2023-03-14 22:10:53 +01:00
08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
3d2c9cd064 Almost all patches 2022-12-07 23:05:32 +01:00
b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
365d10556b EntityPickupItemEvent fixes (#8096) 2022-10-04 21:38:39 -07:00