13
0
geforkt von Mirrors/Paper

Keep fully frozen entities fully activated (#10103)

* Keep fully frozen entities fully activated

* Rebase and switch to isFreezing

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Dieser Commit ist enthalten in:
Owen1212055 2024-01-02 14:08:34 -05:00
Ursprung 324d220679
Commit 524451e16c

Datei anzeigen

@ -618,7 +618,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
{
LivingEntity living = (LivingEntity) entity;
- if ( /*TODO: Missed mapping? living.attackTicks > 0 || */ living.hurtTime > 0 || living.activeEffects.size() > 0 )
+ if ( living.onClimbable() || living.jumping || living.hurtTime > 0 || living.activeEffects.size() > 0 ) // Paper
+ if ( living.onClimbable() || living.jumping || living.hurtTime > 0 || living.activeEffects.size() > 0 || living.isFreezing()) // Paper
{
- return true;
+ return 1; // Paper