13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft
Bjarne Koll c90fc43eb8 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 lose their
target item.

This commit fixes the faulty behaviour by instance performing a check
against the CraftItem type.
2023-08-04 15:53:36 +02:00
..
advancements Improve logging and errors 2022-12-14 15:52:11 -08:00
commands Fix cmd permission levels for command blocks 2022-01-24 15:32:02 -08:00
core Call missing BlockDispenseEvent 2022-10-29 15:41:56 +02:00
nbt Reduce memory footprint of CompoundTag 2020-04-06 17:39:25 -07:00
network Prevent causing expired keys from impacting new joins 2023-04-03 08:55:52 +01:00
resources Sanitize ResourceLocation error logging 2021-08-26 12:09:47 +02:00
server Implement PlayerFailMoveEvent 2023-07-26 20:13:31 +08:00
stats Allow statistics to be disabled/forced 2014-01-07 15:56:26 +00:00
util Validate usernames 2022-01-01 05:19:37 -08:00
world Only erase allay memory on non-item targets 2023-08-04 15:53:36 +02:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Remove client-side code using deprecated for removal AccessController 2021-11-26 15:09:58 -08:00