Skip to content

Not working with FAWE #32

@Malfrador

Description

@Malfrador

When using FastAsyncWorldEdit, Cannons completely breaks when loading cannon designs. I don't think this is an important bug (as the plugin site explicitly states that WorldEdit is required, not FAWE), but it still would be nice to be able to use FAWE with Cannons.
It did work fine in 1.13, so it could work in 1.16 too.

Log error:

[01:58:11] [Server thread/INFO]: [Cannons] Loading cannon designs
[01:58:11] [Server thread/WARN]: java.lang.IndexOutOfBoundsException
[01:58:11] [Server thread/WARN]: 	at java.nio.Buffer.checkIndex(Buffer.java:546)
[01:58:11] [Server thread/WARN]: 	at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:533)
[01:58:11] [Server thread/WARN]: 	at com.boydti.fawe.object.clipboard.DiskOptimizedClipboard.setBlock(DiskOptimizedClipboard.java:410)
[01:58:11] [Server thread/WARN]: 	at com.sk89q.worldedit.extent.OutputExtent.setBlock(OutputExtent.java:61)
[01:58:11] [Server thread/WARN]: 	at com.boydti.fawe.object.extent.BlockTranslateExtent.setBlock(BlockTranslateExtent.java:31)
[01:58:11] [Server thread/WARN]: 	at com.boydti.fawe.object.function.block.SimpleBlockCopy.apply(SimpleBlockCopy.java:20)
[01:58:11] [Server thread/WARN]: 	at com.sk89q.worldedit.function.visitor.RegionVisitor.resume(RegionVisitor.java:66)
[01:58:11] [Server thread/WARN]: 	at com.sk89q.worldedit.function.operation.Operations.completeBlindly(Operations.java:76)
[01:58:11] [Server thread/WARN]: 	at com.sk89q.worldedit.function.operation.ForwardExtentCopy.resume(ForwardExtentCopy.java:396)
[01:58:11] [Server thread/WARN]: 	at com.sk89q.worldedit.function.operation.Operations.complete(Operations.java:43)
[01:58:11] [Server thread/WARN]: 	at at.pavlov.cannons.cannon.DesignStorage.loadDesignSchematic(DesignStorage.java:396)
[01:58:11] [Server thread/WARN]: 	at at.pavlov.cannons.cannon.DesignStorage.loadCannonDesigns(DesignStorage.java:103)
[01:58:11] [Server thread/WARN]: 	at at.pavlov.cannons.config.Config.loadConfig(Config.java:183)
[01:58:11] [Server thread/WARN]: 	at at.pavlov.cannons.Cannons.onEnable(Cannons.java:155)

Continues like this for several thousand lines. Plugin enables succesfully though, but does not work. When pasting a cannon using /cannon create, the cannon is split and mirrored in the middle.

Newest Cannons & FAWE-Version,Paper 1.16.4 #288

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions