c90fc43eb897ec5b864982839ab83e5ad0f12375
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 lose their target item. This commit fixes the faulty behaviour by instance performing a check against the CraftItem type.
Description
No description provided
51 MiB
Languages
Java
100%