9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-06 15:51:50 +00:00

Fix void fishing on newer paper and spigot versions

This commit is contained in:
9BitByte
2025-12-22 16:35:06 +13:00
parent 9d80dd225d
commit 532c8f64b8
2 changed files with 1 additions and 1 deletions

View File

@@ -156,7 +156,7 @@ public class VoidFishingMechanic implements HookMechanic {
d0 = location.getX() + Math.sin(f1) * f2 * 0.1D;
d1 = location.getY();
d2 = location.getZ() + Math.cos(f1) * f2 * 0.1D;
hook.getWorld().spawnParticle(Particle.DRAGON_BREATH, d0, d1, d2, 2 + RandomUtils.generateRandomInt(0,1), 0.10000000149011612D, 0.0D, 0.10000000149011612D, 0.0D);
hook.getWorld().spawnParticle(Particle.DRAGON_BREATH, d0, d1, d2, 2 + RandomUtils.generateRandomInt(0,1), 0.10000000149011612D, 0.0D, 0.10000000149011612D, 0.0D, 0F);
}
if (this.timeUntilLured <= 0) {
this.fishAngle = RandomUtils.generateRandomFloat(0F, 360F);

0
gradlew vendored Normal file → Executable file
View File