Codestyle

This commit is contained in:
Auxilor
2022-07-21 15:44:43 +01:00
parent ad69c34a20
commit 86bdb693f0

View File

@@ -1,6 +1,7 @@
package com.willfp.ecoenchants.enchantments.util;
import org.bukkit.util.Vector;
import org.jetbrains.annotations.NotNull;
public class VelocityChecks {
/**
@@ -9,7 +10,7 @@ public class VelocityChecks {
* @param vel The velocity.
* @return If unsafe.
*/
public static boolean isUnsafeVelocity(Vector vel) {
public static boolean isUnsafeVelocity(@NotNull final Vector vel) {
final double x = vel.getX();
final double y = vel.getY();
final double z = vel.getZ();