From c2d7876a545d39c5ab5851ad6ee33e2b75534a16 Mon Sep 17 00:00:00 2001 From: Aikar Date: Thu, 2 Apr 2020 03:56:05 -0400 Subject: [PATCH] Improve Entities in water activation immunity and let items always move --- .../0426-Activation-Range-Improvements.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/0426-Activation-Range-Improvements.patch b/Spigot-Server-Patches/0426-Activation-Range-Improvements.patch index dc9459735..f7406b8ed 100644 --- a/Spigot-Server-Patches/0426-Activation-Range-Improvements.patch +++ b/Spigot-Server-Patches/0426-Activation-Range-Improvements.patch @@ -34,7 +34,7 @@ index d522d7238d..3a248dbe37 100644 this.setMot(Vec3D.a); } + // Paper start - ignore movement changes while inactive. -+ if (isTemporarilyActive && vec3d == getMot() && enummovetype == EnumMoveType.SELF) { ++ if (isTemporarilyActive && !(entity instanceof EntityItem) && vec3d == getMot() && enummovetype == EnumMoveType.SELF) { + setMot(Vec3D.a); + return; + } @@ -349,7 +349,7 @@ index 92601c581c..f4cb669740 100644 + if ( (entity.activationType != ActivationType.WATER && entity.inWater && entity.pushedByWater()) || entity.fireTicks > 0 ) // Paper { - return true; -+ return 1; // Paper ++ return 100; // Paper } if ( !( entity instanceof EntityArrow ) ) {