Skip to content

Commit 97a4a35

Browse files
committed
Fix bstats perms chart when using an unsupported permissions plugin
1 parent 312d169 commit 97a4a35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Essentials/src/main/java/com/earth2me/essentials/perm/impl/SuperpermsHandler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ public String getEnabledPermsPlugin() {
170170
break;
171171
}
172172
}
173+
if (enabledPermsPlugin == null)
174+
enabledPermsPlugin = "other";
173175
return enabledPermsPlugin;
174176
}
175177
}

0 commit comments

Comments
 (0)