ValMobile / RealisticSurvival

Realistic Survival - A unique Spigot/Paper plugin inspired by RLCraft that aims to enhance pure survival, adventuring and RPG, and immersion of vanilla Minecraft.
GNU General Public License v3.0
34 stars 14 forks source link

An error occurred when using version 1.19.4 #28

Closed anxge closed 1 year ago

anxge commented 1 year ago

โ— Checklist

๐Ÿ“ Description

### An error occurred while loading Error occurred while enabling RealisticSurvival v1.2.4-RELEASE (Is it up to date?) java.lang.NoClassDefFoundError: Could not initialize class me.val_mobile.utils.TagList_v1_19_R1 at me.val_mobile.utils.v1_19_R1.getTag(v1_19_R1.java:133) ~[?:?] at me.val_mobile.utils.Utils.getTag(Utils.java:637) ~[?:?] at me.val_mobile.utils.RSVRecipe.parseIng(RSVRecipe.java:98) ~[?:?] at me.val_mobile.utils.RSVRecipe.parseIngredient(RSVRecipe.java:139) ~[?:?] at me.val_mobile.utils.RSVShapedRecipe.getItems(RSVShapedRecipe.java:114) ~[?:?] at me.val_mobile.utils.RSVShapedRecipe.<init>(RSVShapedRecipe.java:49) ~[?:?] at me.val_mobile.data.RecipeManager.getRecipe(RecipeManager.java:85) ~[?:?] at me.val_mobile.data.RecipeManager.initialize(RecipeManager.java:61) ~[?:?] at me.val_mobile.data.RecipeManager.<init>(RecipeManager.java:43) ~[?:?] at me.val_mobile.data.ModuleRecipes.<init>(ModuleRecipes.java:24) ~[?:?] at me.val_mobile.spartanweaponry.SwModule.initialize(SwModule.java:48) ~[?:?] at me.val_mobile.realisticsurvival.RealisticSurvivalPlugin.onEnable(RealisticSurvivalPlugin.java:94) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:533) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:447) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:975) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3684-Spigot-41150f3-f770708] at java.lang.Thread.run(Thread.java:1623) ~[?:?] Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: NON_FLAMMABLE_WOOD [in thread "Server thread"] at me.val_mobile.utils.TagList_v1_19_R1.<clinit>(TagList_v1_19_R1.java:132) ~[?:?] at me.val_mobile.utils.v1_19_R1.getTag(v1_19_R1.java:133) ~[?:?] at me.val_mobile.utils.Utils.getTag(Utils.java:637) ~[?:?] at me.val_mobile.utils.v1_17.getPickaxeMaterials(v1_17.java:13) ~[?:?] at me.val_mobile.utils.ToolUtils.<init>(ToolUtils.java:139) ~[?:?] at me.val_mobile.realisticsurvival.RealisticSurvivalPlugin.onEnable(RealisticSurvivalPlugin.java:82) ~[?:?] ... 11 more

๐Ÿ“‘ Reproduction Steps

1.using version 1.19.4 2.There are no other plugins

๐Ÿ’ก Expected Behavior

I expect normal loading to happen I think it's the right thing to do without an error

๐Ÿ“ท Screenshots / Videos

No response

๐Ÿ“œ Server Log

No response

๐Ÿ’ป Server Software

Spigot

๐ŸŽฎ Minecraft Version

1.19.x

โญ Realistic Survival version

image

๐Ÿงญ Other plugins

No response

ValMobile commented 1 year ago

Issue should be solved as of 1.2.5 RELEASE