Skip to content

Commit 1263c9e

Browse files
committed
Incorrect operator level for warp commands fixed.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent 18acabc commit 1263c9e

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/com/mairwunnx/projectessentials/warps

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/warps/EntryPoint.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class EntryPoint : EssBase() {
7979
if (permissionsInstalled) {
8080
PermissionsAPI.hasPermission(player.name.string, node)
8181
} else {
82-
player.server.opPermissionLevel >= 2
82+
player.server.opPermissionLevel >= 0
8383
}
8484
}
8585
}

0 commit comments

Comments
 (0)