File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
common/src/main/java/org/vivecraft/mixin/world/entity/projectile Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 44import com .llamalad7 .mixinextras .sugar .ref .LocalRef ;
55import net .minecraft .server .level .ServerPlayer ;
66import net .minecraft .world .entity .Entity ;
7- import net .minecraft .world .entity .projectile .AbstractArrow ;
87import net .minecraft .world .entity .projectile .Projectile ;
9- import net .minecraft .world .entity .projectile .ThrownTrident ;
108import net .minecraft .world .phys .Vec3 ;
119import org .spongepowered .asm .mixin .Mixin ;
1210import org .spongepowered .asm .mixin .injection .At ;
@@ -27,13 +25,6 @@ public class ProjectileMixin {
2725
2826 // aim direction
2927 direction .set (serverVivePlayer .getAimDir ());
30-
31- if (projectile instanceof AbstractArrow && !(projectile instanceof ThrownTrident ) &&
32- !serverVivePlayer .isSeated () && serverVivePlayer .draw > 0.0F )
33- {
34- // modify velocity based on draw range
35- return velocity * serverVivePlayer .draw ;
36- }
3728 }
3829 }
3930 return velocity ;
You can’t perform that action at this time.
0 commit comments