From 85e8d78d3e06c1f0d9ecb210b5a074176bf9b12a Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Tue, 10 Sep 2024 00:15:21 -0400 Subject: [PATCH] chore: set player variable to final --- .../java/com/badbones69/crazycrates/api/enums/Permissions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper/src/main/java/com/badbones69/crazycrates/api/enums/Permissions.java b/paper/src/main/java/com/badbones69/crazycrates/api/enums/Permissions.java index 666f35349..667d4300d 100644 --- a/paper/src/main/java/com/badbones69/crazycrates/api/enums/Permissions.java +++ b/paper/src/main/java/com/badbones69/crazycrates/api/enums/Permissions.java @@ -135,7 +135,7 @@ public enum Permissions { return Collections.unmodifiableMap(this.children); } - public final boolean hasPermission(Player player) { + public final boolean hasPermission(final Player player) { return player.hasPermission(getPermission()); } } \ No newline at end of file