geforkt von Mirrors/Paper
Improve Entities in water activation immunity and let items always move
Dieser Commit ist enthalten in:
Ursprung
1dc7c308aa
Commit
c2d7876a54
@ -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 ) )
|
||||
{
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren