Sefiraat / Simple-Storage

A Slimefun Addon that adds new storage options for late game players
GNU General Public License v3.0
1 stars 8 forks source link

BLOCK_CELL_BASIC #22

Closed jsupa closed 1 year ago

jsupa commented 1 year ago

Description (Required)

my simple storage plugin dosent work

Steps to reproduce the Issue (Required)

idk :D

Expected behavior (Required)

Item "BLOCK_CELL_BASIC" from SimpleStorage vDEV - 10 (git ea5e5637) has caused an Error!

Server Log / Error Report

java.lang.LinkageError: loader constraint violation: when resolving method 'me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu me.mrCookieSlime.Slimefun.api.inventory.BlockMenu.addMenuClickHandler(int, me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu$MenuClickHandler)' the class loader org.bukkit.plugin.java.PluginClassLoader @1060746b of the current class, io/github/sefiraat/simplestorage/items/chests/AbstractCache, and the class loader org.bukkit.plugin.java.PluginClassLoader @1d7648dd for the method's defining class, me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu, have different Class objects for the type me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu$MenuClickHandler used in the signature (io.github.sefiraat.simplestorage.items.chests.AbstractCache is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @1060746b, parent loader java.net.URLClassLoader @2e5d6d97; me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @1d7648dd, parent loader java.net.URLClassLoader @2e5d6d97)

image

Environment (Required)

Sefiraat commented 1 year ago

Remove CSCoreLib, it’s not been required for some time now and, in fact, now causes issues. If it’s not the answer then lmk and I’ll reopen the call :)

jsupa commented 1 year ago

Oh, yeah, fixed :D thanks