poma123/GlobalWarming

Item ID conflict

Closed this issue · 2 comments

Description

Item FILTER ID conflict

public static final SlimefunItemStack FILTER = new SlimefunItemStack("FILTER", Material.GUNPOWDER, "&7Filter");

https://github.com/Slimefun-Addon-Community/Galactifun/blob/e22759e3d3c7e770f86cb14d6bda944c9f6fb8d2/src/main/java/io/github/addoncommunity/galactifun/base/BaseMats.java#L137

Steps to reproduce the Issue

Install GlobalWarming and Galactifun, start server

Expected behavior

No conflict error

Server Log / Error Report

[Server thread/ERROR]: Registering SlimefunItem - 'FILTER' has failed!
io.github.thebusybiscuit.slimefun4.api.exceptions.IdConflictException: Two items have conflicting ids: SlimefunItem - 'FILTER' (Galactifun vDEV - 37 (git 4a5420dd)) and SlimefunItem - 'FILTER' (GlobalWarming vDEV - 10 (git 5d4de1b9))
	at io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem.checkForConflicts(SlimefunItem.java:592) ~[Slimefun4.jar:?]
	at io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem.register(SlimefunItem.java:421) ~[Slimefun4.jar:?]
	at io.github.addoncommunity.galactifun.base.BaseMats.component(BaseMats.java:482) ~[Galactifun.jar:?]
	at io.github.addoncommunity.galactifun.base.BaseMats.component(BaseMats.java:487) ~[Galactifun.jar:?]
	at io.github.addoncommunity.galactifun.base.BaseMats.setup(BaseMats.java:340) ~[Galactifun.jar:?]
	at io.github.addoncommunity.galactifun.Galactifun.enable(Galactifun.java:100) ~[Galactifun.jar:?]
	at io.github.addoncommunity.galactifun.infinitylib.core.AbstractAddon.onEnable(AbstractAddon.java:194) ~[Galactifun.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Paper-399]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-399]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-399]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-399]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-399]
	at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-399]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-399]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-399]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-399]
	at java.lang.Thread.run(Thread.java:831) ~[?:?]

Environment

  • Minecraft Version: Paper 1.17.1
  • Slimefun Version: DEV 986 (git 250fe)
  • Plugin Version: Galactifun vDEV - 37 (git 4a5420dd), GlobalWarming vDEV - 10 (git 5d4de1b)

Linked issue

Slimefun-Addon-Community/Galactifun#103

Fixed on my end

Thanks!