Skip to content

Commit

Permalink
fix wrong handler preventing the plugin from enabling
Browse files Browse the repository at this point in the history
  • Loading branch information
quiquelhappy committed Mar 14, 2021
1 parent 52baebd commit f0fde66
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
14 changes: 10 additions & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion module/universal/src/io/purecore/mcplugin/API.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class API {

protected static String currentRelease = "0752b18c37be4dc8";
protected static String currentRelease = "efa2588b328eb35d";
public static String getCurrentRelease(){
return API.currentRelease;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
import io.purecore.mcplugin.PluginException;
import io.purecore.mcplugin.spigot.commandHandler.FiveteenAndDown;
import io.purecore.mcplugin.spigot.commandHandler.SixteenAndUp;
import io.purecore.mcplugin.spigot.events.BukkitHandler;
import io.purecore.mcplugin.spigot.events.EssentialsHandler;
import io.purecore.mcplugin.spigot.events.LiteBansHandler;
import io.purecore.mcplugin.spigot.events.NuVotifierHandler;
import io.purecore.mcplugin.spigot.events.*;
import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
Expand Down Expand Up @@ -74,7 +71,7 @@ public void onEnable() {

if(this.getServer().getPluginManager().isPluginEnabled("AdvancedBan")){
if(!Instance.isLiteBansEnabled()){
new LiteBansHandler(this);
new AdvancedBanHandler(this);
Instance.advancedban = true;
}
}
Expand Down

0 comments on commit f0fde66

Please sign in to comment.