13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft/world/entity
Jake Potrebic c6b07ad816 Fix cancelling ProjectileHitEvent for piercing arrows
Piercing arrows search for multiple entities inside a while
loop that is checking the projectile entity's removed state.
If the hit event is cancelled on the first entity, the event will
be called over and over again inside that while loop until the event
is not cancelled. The solution here, is to make use of an
already-existing field on AbstractArrow for tracking entities hit by
piercing arrows to avoid duplicate damage being applied.

== AT ==
protected net.minecraft.world.entity.projectile.Projectile hitCancelled
2022-02-19 19:05:59 -08:00
..
ai Add missing forceDrop toggles 2021-07-20 21:25:35 -07:00
ambient Climbing should not bypass cramming gamerule 2020-08-23 20:59:00 +02:00
animal Make water animal spawn height configurable 2021-12-18 08:26:55 +01:00
boss Missing Entity API 2021-06-21 23:56:07 -04:00
decoration Add PlayerItemFrameChangeEvent 2021-11-15 18:10:10 +00:00
item Add option to fix items merging through walls 2021-03-10 10:06:45 -08:00
monster Fix xp reward for baby zombies 2022-01-16 10:34:02 -08:00
npc Add more WanderingTrader API 2021-05-06 14:56:43 +01:00
player Add critical damage API 2021-07-26 17:32:36 +02:00
projectile Fix cancelling ProjectileHitEvent for piercing arrows 2022-02-19 19:05:59 -08:00
raid Add missing forceDrop toggles 2021-07-20 21:25:35 -07:00
vehicle Collision option for requiring a player participant 2020-11-14 16:48:37 +01:00
AgeableMob.java.patch Honor EntityAgeable.ageLock 2018-09-23 20:59:53 -05:00
AreaEffectCloud.java.patch Entity Activation Range 2024-11-02 18:16:11 +11:00
ConversionParams.java.patch Add EntityZapEvent 2016-10-16 23:19:30 -07:00
ConversionType.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Entity.java.patch Freeze Tick Lock API 2021-12-26 20:27:43 -05:00
EntitySelector.java.patch Climbing should not bypass cramming gamerule 2020-08-23 20:59:00 +02:00
EntityType.java.patch Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
ExperienceOrb.java.patch Fix NBT type issues 2018-08-03 00:04:54 -04:00
Interaction.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ItemBasedSteering.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Leashable.java.patch Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00
LightningBolt.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LivingEntity.java.patch Freeze Tick Lock API 2021-12-26 20:27:43 -05:00
Mob.java.patch Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00
NeutralMob.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
OminousItemSpawner.java.patch Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
PathfinderMob.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
TamableAnimal.java.patch Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00