Easy Warp

Easy Warp

461k Downloads

An Internal error occured while attempting to perform this command

ddddd-dddd opened this issue ยท 0 comments

commented

when trying to add a warp I get "An Internal error occured while attempting to perform this command" in return. I'm not sure when this started, but around the time 1.20 came around.

Within the console this is what's being spit out:
20.06 20:56:16 [Server] INFO __ddddd issued server command: /addwarp testwarp 20.06 20:56:16 [Server] ERROR null 20.06 20:56:16 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'addwarp' in plugin EasyWarp v3.12 20.06 20:56:16 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?] 20.06 20:56:16 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?] 20.06 20:56:16 [Server] INFO at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:1003) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[paper-1.20.1.jar:?] 20.06 20:56:16 [Server] INFO at net.minecraft.commands.Commands.performCommand(Commands.java:324) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.commands.Commands.performCommand(Commands.java:308) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2299) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2259) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?] 20.06 20:56:16 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1339) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1316) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1309) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1287) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1175) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-43] 20.06 20:56:16 [Server] INFO at java.lang.Thread.run(Thread.java:833) ~[?:?] 20.06 20:56:16 [Server] INFO Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.World.getName()" because the return value of "org.bukkit.Location.getWorld()" is null 20.06 20:56:16 [Server] INFO at com.collinsrichard.easywarp.managers.FileManager.saveWarps(FileManager.java:62) ~[EasyWarp.jar:?] 20.06 20:56:16 [Server] INFO at com.collinsrichard.easywarp.commands.SetWarpCommand.onCommand(SetWarpCommand.java:59) ~[EasyWarp.jar:?] 20.06 20:56:16 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?] 20.06 20:56:16 [Server] INFO ... 23 more