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

Error while converting #102

Open
J1b1x opened this issue Jan 21, 2022 · 0 comments
Open

Error while converting #102

J1b1x opened this issue Jan 21, 2022 · 0 comments
Labels
Type: bug Something isn't working

Comments

@J1b1x
Copy link

J1b1x commented Jan 21, 2022

Affected Version
3.0.0

Describe the bug
I tried to convert a paper 1.16.5 world, and got an error

To Reproduce
Steps to reproduce the behavior:

  1. I went to '/home/converter/'
  2. I runned this command: 'java -jar Java2Nukkit.jar /home/converter/world/ /home/converter/done'
  3. And got the error

Expected behavior
A converted world..? lol

Exception stack trace
If applicable, paste it below to help explain your problem.

{{'An error has occurred while converting the world!
java.lang.IllegalStateException: Failed to get the Palette ID
        at br.com.gamemods.j2nwc.internal.Chunk_converterKt.toNukkit(chunk-converter.kt:101)
        at br.com.gamemods.j2nwc.internal.Chunk_converterKt$toNukkit$nukkitSections$2.invoke(chunk-converter.kt:31)
        at br.com.gamemods.j2nwc.internal.Chunk_converterKt$toNukkit$nukkitSections$2.invoke(chunk-converter.kt)
        at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:172)
        at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:132)
        at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:156)
        at kotlin.collections.MapsKt__MapsKt.putAll(Maps.kt:374)
        at kotlin.collections.MapsKt__MapsKt.toMap(Maps.kt:542)
        at kotlin.collections.MapsKt__MapsKt.toMap(Maps.kt:536)
        at br.com.gamemods.j2nwc.internal.Chunk_converterKt.toNukkit(chunk-converter.kt:35)
        at br.com.gamemods.j2nwc.internal.RegionFileConverter.toNukkit(RegionFileConverter.kt:39)
        at br.com.gamemods.j2nwc.internal.RegionFileConverter.convertRegionFile(RegionFileConverter.kt:19)
        at br.com.gamemods.j2nwc.WorldConverter.convert(WorldConverter.kt:105)
        at br.com.gamemods.j2nwc.WorldConverterCLI.main(WorldConverterCLI.kt:83)
The world conversion has failed'}}

Screenshots
None

Additional context
None

@J1b1x J1b1x added the Type: bug Something isn't working label Jan 21, 2022
@J1b1x J1b1x closed this as completed Jan 21, 2022
@J1b1x J1b1x reopened this Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant