aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2023-01-26 13:38:38 +0300
committerPetr Ilin <hevav@hevav.dev>2023-01-26 13:38:38 +0300
commit4c49eb400462a6d8f3910bbfa44bf9f575fa24f2 (patch)
treeee5cf5753579bdd37a60cfb2dfb44813a4f3fd3e
parent5709af5c0ade33aff357650fd4e57f79c4844649 (diff)
downloadLimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.tar.gz
LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.tar.bz2
LimboAuth-4c49eb400462a6d8f3910bbfa44bf9f575fa24f2.zip
Fix destroysession permission
-rw-r--r--VERSION2
-rw-r--r--build.gradle2
-rw-r--r--src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java2
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");
}
}