Skip to content

Commit

Permalink
Only enable stuff if groups are turned on
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxopoly authored and ProgrammerDan committed Jun 17, 2016
1 parent a0ef878 commit f87dcba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NameLayer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>vg.civcraft.mc.namelayer</groupId>
<artifactId>NameLayer</artifactId>
<packaging>jar</packaging>
<version>2.8.07</version>
<version>2.8.08</version>
<name>NameLayer</name>
<url>https://github.com/Civcraft/NameLayer/</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ public void onEnable() {
loadDatabases();
ClassHandler.Initialize(Bukkit.getServer());
new NameAPI(new GroupManager(), associations);
PermissionType.initialize();
blackList = new BlackList();
groupManagerDao.loadGroupsInvitations();
defaultGroupHandler = new DefaultGroupHandler();
registerListeners();
if (loadGroups){
PermissionType.initialize();
blackList = new BlackList();
groupManagerDao.loadGroupsInvitations();
defaultGroupHandler = new DefaultGroupHandler();
handle = new CommandHandler();
handle.registerCommands();
}
Expand Down

0 comments on commit f87dcba

Please sign in to comment.