Skip to content

Restoring area gives error. #2902

@MrKiller01

Description

@MrKiller01

WorldEdit Version

7.4.0+7381-3decaf0

Platform Version

Paper version 1.21.11-100-main@4873e3f (2026-01-29T11:02:49Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)

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

[13:08:53 ERROR]: An unexpected error while handling a WorldEdit command
java.nio.file.ClosedFileSystemException
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.java:1635) ~[jdk.zipfs:?]
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.exists(ZipFileSystem.java:657) ~[jdk.zipfs:?]
at jdk.zipfs/jdk.nio.zipfs.ZipPath.exists(ZipPath.java:905) ~[jdk.zipfs:?]
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.exists(ZipFileSystemProvider.java:197) ~[jdk.zipfs:?]
at java.base/java.nio.file.Files.exists(Files.java:2514) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.world.snapshot.experimental.fs.FolderSnapshot.getChunkTag(FolderSnapshot.java:147) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.world.snapshot.experimental.Snapshot.getChunk(Snapshot.java:54) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.world.snapshot.experimental.SnapshotRestore.restore(SnapshotRestore.java:144) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.command.SnapshotUtilCommands.restore(SnapshotUtilCommands.java:120) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.command.SnapshotUtilCommandsRegistration.cmd$restore(SnapshotUtilCommandsRegistration.java:112) ~[?:?]
at worldedit-bukkit-7.4.0.jar//org.enginehub.piston.CommandManager.execute(CommandManager.java:157) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommand(PlatformCommandManager.java:505) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:374) ~[?:?]
at worldedit-bukkit-7.4.0.jar//com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:55) ~[?:?]
at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:104) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:469) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.Commands.performCommand(Commands.java:374) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.commands.Commands.performCommand(Commands.java:362) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2374) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$12(ServerGamePacketListenerImpl.java:2347) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:177) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1530) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:188) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:151) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1510) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1504) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1230) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1346) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:388) ~[paper-1.21.11.jar:1.21.11-100-4873e3f]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Expected Behavior

Normally, restore can handle many restores, this new version stops restoring after one time. I restart the server, and I can restore the thing I want. Not how it should work, does it?

Reproduction Steps

  1. Restarted server,
  2. got into the world,
  3. selected an area where a building was,
  4. picked the right snapshot file,
  5. entered restore and got an error.
  6. It said to report it here.

Anything Else?

Thanks for the wonderfull plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:acceptedWill be fixed / added to WorldEdit, eventuallytype:bugIncorrect behavior, not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions