From 4c49eb400462a6d8f3910bbfa44bf9f575fa24f2 Mon Sep 17 00:00:00 2001 From: Petr Ilin Date: Thu, 26 Jan 2023 13:38:38 +0300 Subject: Fix destroysession permission --- VERSION | 2 +- build.gradle | 2 +- src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 2bf1ca5..18efdb9 100644 --- a/VERSION +++ b/VERSION @@ -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"); } } -- cgit