Skip to content

Paintings cause export to crash #206

@Macintosh-Fan

Description

@Macintosh-Fan

I get this error when exporting a world.

Error rendering entity minecraft:painting, skipping.
java.lang.NullPointerException: Cannot read field "value" because the return value of "org.jmc.NBT.TAG_Compound.getElement(String)" is null
	at org.jmc.entities.Painting.addEntity(Painting.java:68)
	at org.jmc.threading.ChunkProcessor.process(ChunkProcessor.java:246)
	at org.jmc.threading.ReaderRunnable.exportChunk(ReaderRunnable.java:63)
	at org.jmc.threading.ReaderRunnable.run(ReaderRunnable.java:42)
	at java.base/java.lang.Thread.run(Thread.java:1589)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions