From 22ac5b0da5c24f61b028ebe37886193ce5319245 Mon Sep 17 00:00:00 2001 From: Tobias Gremeyer Date: Wed, 20 Feb 2019 22:28:04 +0000 Subject: [PATCH] Tested everything again, noticed 2 oversights that didn't have any impact. (#1548) Usable in both SSP (creative mode) and SMP (op). Required permission level for commands is 2 (server's "op" permission level can be seen and changed in the server.properties). --- .../WayofTime/bloodmagic/command/sub/SubCommandNetwork.java | 2 +- .../WayofTime/bloodmagic/command/sub/SubCommandRitual.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandNetwork.java b/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandNetwork.java index a96cef8a..1cf0b421 100644 --- a/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandNetwork.java +++ b/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandNetwork.java @@ -41,7 +41,7 @@ public class SubCommandNetwork extends CommandTreeBase { @Override public int getRequiredPermissionLevel() { - return 0; + return 2; } abstract class NetworkCommand extends CommandTreeBase { diff --git a/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandRitual.java b/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandRitual.java index bf1a7dca..db0ec96d 100644 --- a/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandRitual.java +++ b/src/main/java/WayofTime/bloodmagic/command/sub/SubCommandRitual.java @@ -141,4 +141,9 @@ public class SubCommandRitual extends CommandTreeBase { } } + + @Override + public int getRequiredPermissionLevel() { + return 2; + } }