We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4530f82 commit c829361Copy full SHA for c829361
1 file changed
src/main/kotlin/com/mairwunnx/projectessentials/home/EntryPoint.kt
@@ -23,7 +23,7 @@ class EntryPoint : EssBase() {
23
24
init {
25
modInstance = this
26
- modVersion = "1.14.4-1.1.0"
+ modVersion = "1.14.4-1.1.1"
27
logBaseInfo()
28
validateForgeVersion()
29
MinecraftForge.EVENT_BUS.register(this)
@@ -75,7 +75,7 @@ class EntryPoint : EssBase() {
75
var cooldownsInstalled: Boolean = false
76
var permissionsInstalled: Boolean = false
77
78
- fun hasPermission(player: ServerPlayerEntity, node: String, opLevel: Int = 2): Boolean =
+ fun hasPermission(player: ServerPlayerEntity, node: String, opLevel: Int = 0): Boolean =
79
if (permissionsInstalled) {
80
PermissionsAPI.hasPermission(player.name.string, node)
81
} else {
0 commit comments