MTVehicles / MinetopiaVehicles

A realistic vehicle plugin for your Minecraft server!
https://mtvehicles.nl
MIT License
92 stars 29 forks source link

1.20.2 & Bombs #220

Closed GomorrhaDev closed 11 months ago

GomorrhaDev commented 11 months ago

Added 1.20.4 Update

AntonyMax commented 11 months ago

Error while using this command /vehicle restore MaxAntony

org.bukkit.command.CommandException: Unhandled exception executing command 'vehicle' in plugin MTVehicles v2.5.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R2.CraftServer.dispatchCommand(CraftServer.java:991) ~[paper-1.20.2.jar:git-Paper-297] at org.bukkit.craftbukkit.v1_20_R2.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.2.jar:git-Paper-297] at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[paper-1.20.2.jar:?] at net.minecraft.commands.Commands.performCommand(Commands.java:330) ~[?:?] at net.minecraft.commands.Commands.performCommand(Commands.java:314) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2208) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$19(ServerGamePacketListenerImpl.java:2168) ~[?:?] at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1324) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:193) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1301) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1294) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1272) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1160) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-297] at java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "nl.mtvehicles.core.infrastructure.dataconfig.VehicleDataConfig.get(String, nl.mtvehicles.core.infrastructure.dataconfig.VehicleDataConfig$Option)" is null at nl.mtvehicles.core.infrastructure.utils.MenuUtils.restoreCMD(MenuUtils.java:285) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.commands.vehiclesubs.VehicleRestore.execute(VehicleRestore.java:40) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.infrastructure.models.MTVSubCommand.onExecute(MTVSubCommand.java:54) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.commands.VehicleSubCommandManager.execute(VehicleSubCommandManager.java:69) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.infrastructure.models.MTVCommand.onCommand(MTVCommand.java:21) ~[MTVehicles1202.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] ... 23 more

GomorrhaDev commented 11 months ago

Error while using this command /vehicle restore MaxAntony

org.bukkit.command.CommandException: Unhandled exception executing command 'vehicle' in plugin MTVehicles v2.5.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R2.CraftServer.dispatchCommand(CraftServer.java:991) ~[paper-1.20.2.jar:git-Paper-297] at org.bukkit.craftbukkit.v1_20_R2.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.2.jar:git-Paper-297] at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[paper-1.20.2.jar:?] at net.minecraft.commands.Commands.performCommand(Commands.java:330) ~[?:?] at net.minecraft.commands.Commands.performCommand(Commands.java:314) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2208) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$19(ServerGamePacketListenerImpl.java:2168) ~[?:?] at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1324) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:193) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1301) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1294) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1272) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1160) ~[paper-1.20.2.jar:git-Paper-297] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-297] at java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "nl.mtvehicles.core.infrastructure.dataconfig.VehicleDataConfig.get(String, nl.mtvehicles.core.infrastructure.dataconfig.VehicleDataConfig$Option)" is null at nl.mtvehicles.core.infrastructure.utils.MenuUtils.restoreCMD(MenuUtils.java:285) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.commands.vehiclesubs.VehicleRestore.execute(VehicleRestore.java:40) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.infrastructure.models.MTVSubCommand.onExecute(MTVSubCommand.java:54) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.commands.VehicleSubCommandManager.execute(VehicleSubCommandManager.java:69) ~[MTVehicles1202.jar:?] at nl.mtvehicles.core.infrastructure.models.MTVCommand.onCommand(MTVCommand.java:21) ~[MTVehicles1202.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] ... 23 more

Cant recreate this Error, works fine for me

AntonyMax commented 11 months ago

Yea working for me fine now...

AntonyMax commented 11 months ago

2023-12-12_10 53 27

Passenger sitting out side the Vehicle ! any solution ?