From 067180d2cf1c162f0b58d488b813f2736ab86cf8 Mon Sep 17 00:00:00 2001 From: Super_ Date: Tue, 14 Jul 2020 19:07:46 -0400 Subject: [PATCH] add defaulting for command permissions --- .../totalfreedommod/command/CommandPermissions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/CommandPermissions.java b/src/main/java/me/totalfreedom/totalfreedommod/command/CommandPermissions.java index 1dc0ee35..b5b00c9c 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/CommandPermissions.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/CommandPermissions.java @@ -8,9 +8,9 @@ import me.totalfreedom.totalfreedommod.rank.Rank; public @interface CommandPermissions { - Rank level(); + Rank level() default Rank.IMPOSTOR; - SourceType source(); + SourceType source() default SourceType.BOTH; boolean blockHostConsole() default false;