Querz / mcaselector

A tool to select chunks from Minecraft worlds for deletion or export.
MIT License
3.18k stars 177 forks source link

Unable to Change Fields #366

Open Dracconis opened 2 years ago

Dracconis commented 2 years ago

Bug Description Unable to "Change Fields" despite have 1 or more chunks selected like you could in previous versions.

Expected behavior Expected this version to act like previous versions and allow the change of fields.

Environment (please complete the following information):

Additional context

UltraBlackLinux commented 1 year ago

the nbt editor is crashing (I think taht's change fields, is it not?):

ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider org.codehaus.groovy.jsr223.GroovyScriptEngineFactory not found
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "net.querz.mcaselector.changer.fields.CustomField.engine" is null
    at net.querz.mcaselector.changer.fields.CustomField.<init>(CustomField.java:28)
    at net.querz.mcaselector.changer.FieldType.newInstance(FieldType.java:53)
    at net.querz.mcaselector.ui.dialog.ChangeNBTDialog.<init>(ChangeNBTDialog.java:80)
    at net.querz.mcaselector.ui.DialogHelper.changeFields(DialogHelper.java:60)
    at net.querz.mcaselector.ui.component.OptionBar.lambda$new$30(OptionBar.java:179)