diff options
author | Petr Ilin <hevav@hevav.dev> | 2023-01-26 13:38:38 +0300 |
---|---|---|
committer | Petr Ilin <hevav@hevav.dev> | 2023-01-26 13:38:38 +0300 |
commit | 4c49eb400462a6d8f3910bbfa44bf9f575fa24f2 (patch) | |
tree | ee5cf5753579bdd37a60cfb2dfb44813a4f3fd3e | |
parent | 5709af5c0ade33aff357650fd4e57f79c4844649 (diff) | |
download | LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.tar.gz LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.tar.bz2 LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.zip |
Fix destroysession permission
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1 +1 @@ -1.1.7 +1.1.8 diff --git a/build.gradle b/build.gradle index bd39c53..3983fa3 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { } setGroup("net.elytrium") -setVersion("1.1.7") +setVersion("1.1.8") java { setSourceCompatibility(JavaVersion.VERSION_11) diff --git a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java index f796f2e..ea4bef8 100644 --- a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java +++ b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java @@ -55,6 +55,6 @@ public class DestroySessionCommand implements SimpleCommand { @Override public boolean hasPermission(SimpleCommand.Invocation invocation) { return Settings.IMP.MAIN.COMMAND_PERMISSION_STATE.DESTROY_SESSION - .hasPermission(invocation.source(), "imboauth.commands.destroysession"); + .hasPermission(invocation.source(), "limboauth.commands.destroysession"); } } |