Skip to content

Commit

Permalink
Fix destroysession permission
Browse files Browse the repository at this point in the history
  • Loading branch information
hevav committed Jan 26, 2023
1 parent 5709af5 commit 4c49eb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.7
1.1.8
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

setGroup("net.elytrium")
setVersion("1.1.7")
setVersion("1.1.8")

java {
setSourceCompatibility(JavaVersion.VERSION_11)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ public void execute(SimpleCommand.Invocation invocation) {
@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");
}
}

0 comments on commit 4c49eb4

Please sign in to comment.