An internal error occurred
Opened this issue · 1 comments
About
I cant use /vehicle: An internal error occured while attempting to perform this command
- Minecraft version: 1.20.2
- Server software: Spigot
- Plugin version: 2.5.3
When and why?
When i try to use /vehicle
Documentation
[11:27:02] [Server thread/ERROR]: [MTVehicles] An unexpected error occurred, disabling the plugin... Check the exception log:
[11:27:02] [Server thread/WARN]: java.lang.NoSuchFieldException: c
[11:27:02] [Server thread/WARN]: at java.base/java.lang.Class.getField(Class.java:2284)
[11:27:02] [Server thread/WARN]: at nl.mtvehicles.core.movement.PacketHandler.movement_1_20_R2(PacketHandler.java:91)
[11:27:02] [Server thread/WARN]: at nl.mtvehicles.core.movement.MovementManager.MovementSelector(MovementManager.java:28)
[11:27:02] [Server thread/WARN]: at nl.mtvehicles.core.infrastructure.modules.LoopModule.(LoopModule.java:25)
[11:27:02] [Server thread/WARN]: at nl.mtvehicles.core.Main.onEnable(Main.java:56)
[11:27:02] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[11:27:02] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
[11:27:02] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
[11:27:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R2.CraftServer.enablePlugin(CraftServer.java:548)
[11:27:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R2.CraftServer.enablePlugins(CraftServer.java:462)
[11:27:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R2.CraftServer.reload(CraftServer.java:970)
[11:27:02] [Server thread/WARN]: at org.bukkit.Bukkit.reload(Bukkit.java:834)
[11:27:02] [Server thread/WARN]: at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27)
[11:27:02] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
[11:27:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R2.CraftServer.dispatchCommand(CraftServer.java:879)
[11:27:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R2.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:50)
[11:27:02] [Server thread/WARN]: at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265)
[11:27:02] [Server thread/WARN]: at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:320)
[11:27:02] [Server thread/WARN]: at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:304)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1828)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.lambda$15(PlayerConnection.java:1790)
[11:27:02] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.b(SourceFile:67)
[11:27:02] [Server thread/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.TickTask.run(SourceFile:18)
[11:27:02] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156)
[11:27:02] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1133)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1)
[11:27:02] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1112)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1105)
[11:27:02] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1089)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1000)
[11:27:02] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298)
[11:27:02] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[11:27:02] [Server thread/ERROR]: [MTVehicles] Disabling the plugin (a critical bug might have occurred)...
As already answered a thousand times in the Discord, the plugin only works on PaperMC from 1.20 onwards. A revised version is available on the Discord so that it also works on Spigot again (https://discord.com/channels/694809233819959308/1238260545791070308/1245852925843210401)