Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying, Pasting Structures (Exporting & Importing) Type Error Cannot leave property 'size' undefined #279

Open
1 task done
BernardMcWeeney opened this issue Jul 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BernardMcWeeney
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

Hello,

When using both v0.9.0 and v0.9.0.6 beta the act of copying and pasting structures from one world to another does not work.

I have tried different block sizes to ensure I am not copying too many blocks, the issue persists.

When exporting, using the WorldEdit App and then making sure the resource and behaviour packs are active, importing the structure in the new world and pasting the structure provides the error:

Type Error Cannot leave property 'size' undefined

at (anonymous) (server/commands/clipboard/paste.js:73)
at next (native)at (anonymous) (server/commands/negister_connands.js:24)
at next (native)
at (library/utils/multithreading.js:91)
at loadwhileLoadingChunks (library/classes/structureBuilder.js:216)
at load (server /nodules/region_buffer.js:245)
at next (native)
at <anonymous) (server/commands/clipboard/pasted.js:57)
at next (native)
at run (server/modules/ jobs.js:35)
at next (native)
at (anonymous) (server/commands/clipboard/pasteds.73)

Expected behaviour

The ability to seamlessly:

select structure
copy structure
export structure
using WorldEdit App, export Structure
import structure into another world
paste structure

Steps to reproduce

  1. select structure to copy
  2. copy structure
  3. export structure
  4. save original world
  5. using WorldEdit App, process structure
  6. add processed structure to new world using behavior and resource packs
  7. load new world
  8. import structure
  9. paste structure

Content logs

[Scripting][warning]-[LOG] [03:31:23 PM] Processing command ';paste -s' for 'Bernard2000b'

[Scripting][error]-[ERROR] [03:31:23 PM] Command ';paste -s' failed for 'Bernard2000b' with msg: {"rawtext":[{"text":"TypeError: "},{"translate":"cannot read property 'size' of undefined","with":[]}],"lastElementIdx":1}

Minecraft version

v1.21.2

Device and operating system

windows 11

Additional info

No response

@BernardMcWeeney BernardMcWeeney added the bug Something isn't working label Jul 31, 2024
@Yamato534
Copy link

Yamato534 commented Nov 5, 2024

me too in 0.9.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants