Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

Cannot place schematic #8

Open
mworzala opened this issue Mar 20, 2022 · 0 comments
Open

Cannot place schematic #8

mworzala opened this issue Mar 20, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@mworzala
Copy link

Describe the bug
When placing a schematic it produces:

java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 24
	at java.base/java.util.ImmutableCollections$ListN.get(ImmutableCollections.java:680)
	at net.minestom.server.instance.DynamicChunk.getSection(DynamicChunk.java:109)
	at net.minestom.server.instance.Chunk.getSectionAt(Chunk.java:95)
	at net.minestom.server.instance.DynamicChunk.setBlock(DynamicChunk.java:72)
	at net.minestom.server.instance.batch.ChunkBatch.apply(ChunkBatch.java:216)
	at net.minestom.server.instance.batch.ChunkBatch.singleThreadFlush(ChunkBatch.java:188)
	at net.minestom.server.instance.batch.ChunkBatch.lambda$apply$0(ChunkBatch.java:156)

To Reproduce
Steps to reproduce the behavior:

Schematic schem = Scaffolding.fromFile(...);
schem.build(..., Pos.ZERO);

(unpack for schematic, WE is ok with it, and it seems to have everything expected)
lightouse.schem.zip

Expected behavior
should build

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    ah yes very good

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
    +1 for template

Additional context
Add any other context about the problem here.

@joshuasing joshuasing added the bug Something isn't working label Jun 12, 2022
@joshuasing joshuasing added this to the v0.2 milestone Jun 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants