diff --git a/src/main/java/com/atsuishio/superbwarfare/tools/VectorTool.java b/src/main/java/com/atsuishio/superbwarfare/tools/VectorTool.java index 46e694d0e..4828465ec 100644 --- a/src/main/java/com/atsuishio/superbwarfare/tools/VectorTool.java +++ b/src/main/java/com/atsuishio/superbwarfare/tools/VectorTool.java @@ -57,6 +57,6 @@ public class VectorTool { } public static Vec3 randomPos(Vec3 originPos, int radius) { - return originPos.add(new Vec3(Math.random() * radius, 0, 0).yRot((float) (360 * Math.random()))); + return originPos.add(new Vec3(Math.random() * radius, 0, 0).yRot((float) (360 * Math.random()) * Mth.DEG_TO_RAD)); } }