mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Use 1.16.2 paper itemstack hover API
This commit is contained in:
1 parent
71b502cbfc
commit
aa569a79e7
3 files changed
+32
-46
No files matched your search
@@ -12,7 +12,6 @@ import net.draycia.carbon.storage.UserService;
|
||||
import net.draycia.carbon.storage.impl.JSONUserService;
|
||||
import net.draycia.carbon.storage.impl.MySQLUserService;
|
||||
import net.draycia.carbon.util.CarbonPlaceholders;
|
||||
import net.draycia.carbon.util.CarbonUtils;
|
||||
import net.draycia.carbon.util.Metrics;
|
||||
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
@@ -38,8 +37,6 @@ public final class CarbonChat extends JavaPlugin {
|
||||
private UserService userService;
|
||||
private MessageManager messageManager;
|
||||
|
||||
private CarbonUtils itemStackUtils;
|
||||
|
||||
private YamlConfiguration modConfig;
|
||||
private YamlConfiguration languageConfig;
|
||||
|
||||
@@ -74,12 +71,6 @@ public final class CarbonChat extends JavaPlugin {
|
||||
// Setup Adventure
|
||||
adventureManager = new AdventureManager(this);
|
||||
|
||||
try {
|
||||
itemStackUtils = new CarbonUtils();
|
||||
} catch (ClassNotFoundException | NoSuchMethodException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
// Setup vault and permissions
|
||||
permission = getServer().getServicesManager().getRegistration(Permission.class).getProvider();
|
||||
|
||||
@@ -200,10 +191,6 @@ public final class CarbonChat extends JavaPlugin {
|
||||
return userService;
|
||||
}
|
||||
|
||||
public CarbonUtils getItemStackUtils() {
|
||||
return itemStackUtils;
|
||||
}
|
||||
|
||||
public AdventureManager getAdventureManager() {
|
||||
return adventureManager;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user