Skip to content

Commit

Permalink
Update ChatMenuAPI to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EverNife committed Oct 10, 2024
1 parent 5bee700 commit 1c8bef8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ dependencies {
implementation project(':modules:v1_12_2')
implementation project(':modules:v1_16_5')

implementation 'com.github.evernife:ChatMenuAPI:v1.1.3c'
implementation "br.com.finalcraft:ChatMenuAPI:2.0.1"

implementation 'net.byteflux:libby-core:1.2.0'
implementation 'dev.triumphteam:triumph-gui:3.1.4-evernife-02'
implementation 'com.github.Carleslc.Simple-YAML:Simple-Yaml:1.8.4'
Expand Down Expand Up @@ -148,7 +149,7 @@ ext.getCallingTask = { ->
shadowJar {
archiveName = "${baseName}-${version}.${extension}"
dependencies {
include(dependency('com.github.evernife:ChatMenuAPI:'))
include(dependency('br.com.finalcraft:ChatMenuAPI:'))
include(dependency('net.byteflux:libby-core:'))
include(dependency('dev.triumphteam:triumph-gui:'))
include(dependency('de.tr7zw:item-nbt-api:')) //Oct 26, 2023
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import br.com.finalcraft.evernifecore.util.FCTickUtil;
import br.com.finalcraft.evernifecore.version.MCVersion;
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
import me.tom.sparse.spigot.chat.menu.ChatMenuAPI;
import org.bukkit.Bukkit;
import org.bukkit.event.HandlerList;
import org.bukkit.plugin.java.JavaPlugin;
Expand Down Expand Up @@ -103,10 +102,6 @@ public void onEnable() {

SaveConfigThread.INSTANCE.start();

if (Bukkit.getPluginManager().isPluginEnabled("ProtocolLib")){
ChatMenuAPI.init(instance, false);
}

FCTickUtil.getTickCount();//This will start tickCounting
info("§aEverNifeCore successfully started!");
}
Expand All @@ -117,7 +112,6 @@ public void onDisable() {
SaveConfigThread.INSTANCE.shutdown();
PlayerController.savePlayerDataOnConfig();
CfgExecutor.shutdownExecutor();
ChatMenuAPI.disable();
}

@ECPlugin.Reload
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package br.com.finalcraft.evernifecore.util;

import me.tom.sparse.spigot.chat.menu.ChatMenuAPI;
import me.tom.sparse.spigot.chat.util.TextUtil;

import br.com.finalcraft.evernifecore.chatmenuapi.menu.ChatMenuAPI;
import br.com.finalcraft.evernifecore.chatmenuapi.util.TextUtil;

public class FCTextUtil {

Expand Down

0 comments on commit 1c8bef8

Please sign in to comment.