Skip to content

Commit

Permalink
fixed link modules not working correctly when reloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Oct 21, 2016
1 parent 261e201 commit 8830288
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#Changelog
---
####6.0.1.1
- Fixed modules depending on LinkManager not working when reloaded

###6.0.1
- Added onUpdate method in Module that gets called when the -update command gets executed
- Fixed -module load <link> not able to reload modules
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ public void onDisable()
getBuilder().removeListener(listener);
}

@Override
public void onFinish()
{
linkActions.sort(new LinkAction.LinkActionComparator());
}

@Override
public String[] getUsage(String channel)
{
Expand All @@ -60,6 +54,7 @@ public String[] getUsage(String channel)
public static void registerLinkAction(LinkAction la)
{
linkActions.add(la);
linkActions.sort(new LinkAction.LinkActionComparator());
}

/**
Expand Down

0 comments on commit 8830288

Please sign in to comment.