9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-04 15:41:35 +00:00

Update AntiAutoFishing.java

This commit is contained in:
XiaoMoMi
2024-08-14 03:23:33 +08:00
parent 78b25cc13a
commit c1dd712504

View File

@@ -38,7 +38,7 @@ public class AntiAutoFishing {
1f
), hook.getX(), hook.getY(), hook.getZ());
double motion = -0.4 * RandomUtils.generateRandomDouble(0.6, 1.0);
SparrowHeart.getInstance().sendClientSideEntityMotion(player, new Vector(0, motion,0), hook.getEntityId());
SparrowHeart.getInstance().sendClientSideEntityMotion(player, new Vector(0, 0,0), hook.getEntityId());
SparrowHeart.getInstance().sendClientSideEntityMotion(player, new Vector(0, motion, 0), hook.getEntityId());
SparrowHeart.getInstance().sendClientSideEntityMotion(player, new Vector(0, 0, 0), hook.getEntityId());
}
}