Extra Hard Mode

Extra Hard Mode

63.1k Downloads

IllegalArgumentException on start-up

SlimeDog opened this issue ยท 3 comments

commented

Spigot 1.14.2 (Jenkins build 2366) git-Spigot-df0eb25-da071ec (MC: 1.14.2) (Implementing API version 1.14.2-R0.1-SNAPSHOT
EHM 3.14.alpha-f00ecfd

[17:14:21] [Server thread/INFO]: [ExtraHardMode] Enabling ExtraHardMode v3.14.alpha-f00ecfd
[17:14:22] [Server thread/ERROR]: Error occurred while enabling ExtraHardMode v3.14.alpha-f00ecfd (Is it up to date?)
java.lang.IllegalArgumentException: Cannot get ID of Modern Material
        at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at org.bukkit.Material.getId(Material.java:3302) ~[spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at com.extrahardmode.features.DebugMode.<init>(DebugMode.java:38) ~[?:?]
        at com.extrahardmode.ExtraHardMode.onEnable(ExtraHardMode.java:140) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:440) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:761) [spigot-1.14.2.jar-2019-06-21-0650:git-Spigot-df0eb25-da071ec]
        at java.lang.Thread.run(Thread.java:834) [?:?]
commented

Cool, I guess a couple other methods are still trying to get the ID. Wonderful.

commented

This shouldn't come as a surprise. Do you not have a 1.14.x test server?

commented

Please do the needful. Testing of EHM on 1.14.x is awaiting...