Commit graph

9 commits

Author SHA1 Message Date
Bjarne Koll
4eaa335676 922 2024-06-14 10:17:11 +02:00
Jake Potrebic
0ef31547a1 Finish API patches 2024-06-13 08:45:43 -07:00
Owen1212055
308e992c47 Patches!!!!!!! 2024-04-24 18:36:49 -04:00
Jake Potrebic
47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
Owen1212055
6f010858de Patches!!! MORE MORE MORE MOOOOORE 2023-12-06 11:34:54 -05:00
Nassim Jahnke
46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
Lulu13022002
fdf4e8726b more work
all server patches done (almost)
2023-09-22 18:59:52 +02:00
Noah van der Aa
524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
Bjarne Koll
f9c9ac2e65 Only erase allay memory on non-item targets (#9570)
* Only erase allay memory on non-item targets

Spigot incorrectly instanceOf checks the EntityTargetEvent#getTarget
against the internal ItemEntity type and removes the nearest wanted item
memory if said instanceOf check fails, (which is always the case)
causing allays to behave differently as they constantly loose their
target item.

This commit fixes the faulty behaviour by instance performing a check
against the CraftItem type.

* Reduce diff

* fix typo

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-08-06 02:31:10 +02:00