WorldEdit

WorldEdit

45M Downloads

Error with //regen command

JuanJSAR opened this issue ยท 0 comments

commented

WorldEdit Version

7.2.6 (1.13.2 - 1.17.1)

Platform Version

PaperMC 1.17.1

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Hi everyone, running the //regen command does not retrieve the zone and tells me to look at the error in the console, do you know how I could solve this problem?
the error is as follows:

[23:16:55 ERROR]: An unexpected error while handling a WorldEdit command java.lang.NoSuchMethodError: 'void net.minecraft.server.level.WorldServer.<init>(net.minecraft.server.MinecraftServer, java.util.concurrent.Executor, net.minecraft.world.level.storage.Convertable$ConversionSession, net.minecraft.world.level.storage.IWorldDataServer, net.minecraft.resources.ResourceKey, net.minecraft.world.level.dimension.DimensionManager, net.minecraft.server.level.progress.WorldLoadListener, net.minecraft.world.level.chunk.ChunkGenerator, boolean, long, java.util.List, boolean, org.bukkit.World$Environment, org.bukkit.generator.ChunkGenerator)' at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_17_R1_2.doRegen(Spigot_v1_17_R1_2.java:625) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_17_R1_2.regenerate(Spigot_v1_17_R1_2.java:578) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.bukkit.BukkitWorld.regenerate(BukkitWorld.java:216) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.command.RegionCommands.regenerate(RegionCommands.java:431) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.command.RegionCommandsRegistration.cmd$_regen(RegionCommandsRegistration.java:576) ~[worldedit-bukkit-7.2.6.jar:?] at org.enginehub.piston.CommandManager.execute(CommandManager.java:157) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommand(PlatformCommandManager.java:497) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:383) ~[worldedit-bukkit-7.2.6.jar:?] at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:55) ~[worldedit-bukkit-7.2.6.jar:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[minecraft_server.jar:git-Paper-263] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:838) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:2257) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2068) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2049) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1418) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1396) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1389) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1367) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1278) ~[minecraft_server.jar:git-Paper-263] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[minecraft_server.jar:git-Paper-263] at java.lang.Thread.run(Thread.java:831) [?:?]

Expected Behavior

It should regenerate the area but it doesn't work.

Reproduction Steps

  1. Start the server
  2. Select the area
  3. Execute the command: //regen

Anything Else?

No response