Admin Preferences GUI Throwing Exception
roberestarkk opened this issue ยท 0 comments
Describe the bug
When attempting to open the Admin Preferences (Via Sonic or Via the TARDIS console), the button appears to do nothing and the below error is logged.
To Reproduce
- Open the Player Preferences via Sonic or via TARDIS Console
- Click the 'Admin Config Menu' option in the bottom right
- Observe
Screenshots
No response
Log files
java.lang.IllegalArgumentException: No enum constant me.eccentric_nz.TARDIS.custommodeldata.GUIConfiguration.SONIC
at java.lang.Enum.valueOf(Enum.java:293) ~[?:?]
at me.eccentric_nz.TARDIS.custommodeldata.GUIConfiguration.valueOf(GUIConfiguration.java:22) ~[TARDIS.jar:?]
at me.eccentric_nz.TARDIS.commands.config.TARDISConfigMenuInventory.lambda$getItemStack$0(TARDISConfigMenuInventory.java:74) ~[TARDIS.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at me.eccentric_nz.TARDIS.commands.config.TARDISConfigMenuInventory.getItemStack(TARDISConfigMenuInventory.java:51) ~[TARDIS.jar:?]
at me.eccentric_nz.TARDIS.commands.config.TARDISConfigMenuInventory.<init>(TARDISConfigMenuInventory.java:39) ~[TARDIS.jar:?]
at me.eccentric_nz.TARDIS.commands.preferences.TARDISPrefsMenuListener.lambda$onPrefsMenuClick$5(TARDISPrefsMenuListener.java:288) ~[TARDIS.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-435]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[paper-1.20.4.jar:git-Paper-435]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1636) ~[paper-1.20.4.jar:git-Paper-435]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.4.jar:git-Paper-435]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1515) ~[paper-1.20.4.jar:git-Paper-435]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-435]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-435]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
'/tardis version' output
[Mon 10:06:29 INFO] [TARDIS] Server version: git-Paper-435 (MC: 1.20.4)
[Mon 10:06:29 INFO] [TARDIS] TARDIS version: 5.4.0-b2807
[Mon 10:06:29 INFO] [TARDIS] Vault version: 1.7.3-b131
[Mon 10:06:29 INFO] [TARDIS] WorldGuard version: 7.0.9+5934e49
[Mon 10:06:29 INFO] [TARDIS] CoreProtect version: 22.2
[Mon 10:06:29 INFO] [TARDIS] Essentials version: 2.20.1
[Mon 10:06:29 INFO] [TARDIS] Towny version: 0.100.1.0
[Mon 10:06:29 INFO] [TARDIS] Checking for new TARDIS builds...
[Mon 10:06:30 INFO] [TARDIS] You are 1 builds behind! Type /tadmin update_pluginsto update!