Skip to content

Modtweaker Logs gives NPE when removing a variation! #668

@Guinaro

Description

@Guinaro

I'm currently using the Modtweaker functionctionality as implemented by Jared in issue #586
And I'm experiencing a Null Pointer Exception:

The strange thing is that the removal is indeed performed and executed in game, but you still get an NPE.

Relevant Log Part:
[AVAILABLE][CLIENT][INFO] Removing chisel group called: granite
[AVAILABLE][CLIENT][ERROR] Error while applying actions
java.lang.NullPointerException
    at team.chisel.common.carving.GroupList.removeVariation(GroupList.java:259)
    at team.chisel.common.carving.GroupList.removeVariation(GroupList.java:231)
...

Script Used:

import mods.chisel.Carving;

//Remove Granite from the Granite Chisel Group
Carving.removeVariation("granite", <minecraft:stone:1>);

Gist with extended error message and script:
https://gist.github.com/Guinaro/271882fd4306b2bfcbed26763648bf14

Guinaro

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions