Skip to content

Deletes Parts Of Build When Copy And Pasting #3442

@Chrisi06

Description

@Chrisi06

Server Implementation

Paper

Server Version

1.21.10

Describe the bug

Since I updated my server to a newer version (from 1.21.4 to 1.21.10) FAWE doesn't work anymore with copying and pasting builds as it used to do. Selecting the build works, but when pasting them, there are just large portions of it completely missing, no matter if copying it with or without entitys. And when using the undo-command to clear the mess, it does not clear away everything, some random portions (not even those which where missing before) just stay there and have to be manually deleted with //set 0.

To Reproduce

  • select a build with //pos1 & //pos2
  • copy it with //copy or //copy -e (doesn't make any difference)
  • paste it with //paste or also //paste -e (no difference here too)
  • with //undo the pasted build doesn't disappear completely

Expected behaviour

Just to copy and paste a build with all blocks, entitys, etc.
as the plugin has done that in previous versions too.

Screenshots / Videos

Image Selected build in original form Image Copied and pasted build Image Using the undo-command

Error log (if applicable)

[22:24:46 ERROR]: [com.fastasyncworldedit.bukkit.adapter.AbstractBukkitGetBlocks] Error performing chunk call at chunk -31,-88
java.lang.RuntimeException: Failed to create block palette
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.sk89q.worldedit.bukkit.adapter.impl.fawe.v1_21_9.PaperweightPlatformAdapter.newChunkSection(PaperweightPlatformAdapter.java:493) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.sk89q.worldedit.bukkit.adapter.impl.fawe.v1_21_9.PaperweightGetBlocks.internalCall(PaperweightGetBlocks.java:549) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.sk89q.worldedit.bukkit.adapter.impl.fawe.v1_21_9.PaperweightGetBlocks.internalCall(PaperweightGetBlocks.java:96) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.fastasyncworldedit.bukkit.adapter.AbstractBukkitGetBlocks.tryInternalCall(AbstractBukkitGetBlocks.java:135) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.fastasyncworldedit.bukkit.adapter.AbstractBukkitGetBlocks.call(AbstractBukkitGetBlocks.java:92) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.call(ChunkHolder.java:1090) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.call(ChunkHolder.java:1052) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.fastasyncworldedit.core.queue.implementation.chunk.ChunkHolder.call(ChunkHolder.java:37) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalStateException: Invalid bit count, calculated 0, but container declared 15
at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287) ~[datafixerupper-8.0.16.jar:?]
at com.mojang.serialization.DataResult.getOrThrow(DataResult.java:81) ~[datafixerupper-8.0.16.jar:?]
at FastAsyncWorldEdit-Paper-2.15.0.jar/com.sk89q.worldedit.bukkit.adapter.impl.fawe.v1_21_9.PaperweightPlatformAdapter.newChunkSection(PaperweightPlatformAdapter.java:491) ~[FastAsyncWorldEdit-Paper-2.15.0.jar:?]
... 11 more

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/97e6f8f6c91444fa918b66551da78384

Are you interested in contributing a fix?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Requires TestingThis is a new issue which needs to be approved before labeled with "bug"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions