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 converting 1.5.2 world to Nukkit in 3.0.0 #100

Open
ElectroArtifex opened this issue Mar 29, 2021 · 0 comments
Open

Error converting 1.5.2 world to Nukkit in 3.0.0 #100

ElectroArtifex opened this issue Mar 29, 2021 · 0 comments
Labels
Type: bug Something isn't working

Comments

@ElectroArtifex
Copy link

Affected Version
3.0

Describe the bug
Program would not complete conversion.

Exception stack trace

java.util.NoSuchElementException: type
        at br.com.gamemods.nbtmanipulator.NbtCompound.require(nbt.kt:452)
        at br.com.gamemods.nbtmanipulator.NbtCompound.getString(nbt.kt:510)
        at br.com.gamemods.j2nwc.internal.Block_converterKt.toNukkit(block-converter.kt:59)
        at br.com.gamemods.j2nwc.internal.Chunk_converterKt.toNukkit(chunk-converter.kt:116)
        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
(https://i.imgur.com/FiuNZFF.png)

@ElectroArtifex ElectroArtifex added the Type: bug Something isn't working label Mar 29, 2021
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