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.
Describe the bug
When placing a schematic it produces:
To Reproduce
Steps to reproduce the behavior:
(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):
ah yes very good
Smartphone (please complete the following information):
+1 for template
Additional context
Add any other context about the problem here.