Solved copying and saving schematic with WorldEdit API problem

Discussion in 'Plugin Development' started by Tim_M, Aug 10, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    Tim_M

    Very simple problem. Im copying an area and saving it to a schematic with WorldEdit / FAWE API. I want to specify where it should be getting copied from, no online searches gave me an answer, so Im asking here.

    Thanks for answering in advance :p
     
    Last edited: Aug 10, 2020
  2. Online

    timtower Administrator Administrator Moderator

    @Tim_M Where are you putting the origin now?
     
  3. Offline

    Tim_M

    I have tried pasting at pos1 and pos2. I will try paste it from 0 0 0 later today

    Edit: The paste is supposed to overwrite a SkyWars map where a SkyWars match had been played. Before pasting didnt do anything, but pasting from 0 0 0 made it clear exactly 1/4 of the map, so its kinda progress?

    Image of what happened:
     

    Attached Files:

    Last edited: Aug 10, 2020
  4. Online

    timtower Administrator Administrator Moderator

    @Tim_M Where you store it from and paste it from should be the same location.
     
  5. Offline

    Tim_M

    Yes, but where is it getting copied from? Im only specifiying a cuboid.

    So after a lot of debugging, it seems to be pasting only air, cant confirm it yet. I guess my code is broken?

    This is one of the weirdest things ever. I opened the created schematic online and this is how it looks:

    I quit on doing this, I dont know how to delete posts, so Ill mark it as SOLVED.
     

    Attached Files:

    Last edited by a moderator: Aug 10, 2020
Thread Status:
Not open for further replies.

Share This Page