WolfyScript / CustomCrafting

Spigot based plugin to create your own custom Recipes & Items. Designed to be easy to use with in-game GUI and tons of configuration possibilities.
https://modrinth.com/plugin/customcrafting
GNU General Public License v3.0
114 stars 36 forks source link

Compatibility with ExecutableBlocks #371

Open OMarcoGPO opened 6 months ago

OMarcoGPO commented 6 months ago

What happened?

If you have the plugin ExecutableBlocks, and you try to do a custom craft with some of the custom blocks that can be make, the plugin doesn't detect this custom block, and define it as AIR.

How can the bug be reproduced?

Expected Behaviour?

The customcrafting should be compatibility with this plugin, so any executableblock could be put as ingredient or result on a custom recipe of the plugin.

Plugin version

CustomCrafting 4.16.9.1, WolfyUtilities 4.17.0.0

Server software

Paper 1.20.4

Relevant log output

[17:20:14 WARN]: Exception in thread "ForkJoinPool-3-worker-1" com.wolfyscript.lib.com.typesafe.config.ConfigException$Parse: plugins/CustomCrafting/data/chairs/recipes/chair1.conf: 107: Expecting close brace } or a comma, got end of file

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:201)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:197)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:526)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.consolidateValues(ConfigDocumentParser.java:152)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseArray(ConfigDocumentParser.java:549)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:249)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.consolidateValues(ConfigDocumentParser.java:152)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:471)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.consolidateValues(ConfigDocumentParser.java:152)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseArray(ConfigDocumentParser.java:549)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:249)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.consolidateValues(ConfigDocumentParser.java:152)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:471)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:456)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parse(ConfigDocumentParser.java:646)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.ConfigDocumentParser.parse(ConfigDocumentParser.java:14)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:260)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:248)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.impl.Parseable.parse(Parseable.java:299)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.ConfigFactory.parseFile(ConfigFactory.java:688)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.lib.com.typesafe.config.ConfigFactory.parseFile(ConfigFactory.java:702)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.jackson.dataformat.hocon.HoconFactory.createParser(HoconFactory.java:229)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//com.wolfyscript.jackson.dataformat.hocon.HoconFactory.createParser(HoconFactory.java:34)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//me.wolfyscript.lib.com.fasterxml.jackson.databind.ObjectReader.createParser(ObjectReader.java:1023)

[17:20:14 WARN]: at wolfyutils-spigot-4.17-beta.1.jar//me.wolfyscript.lib.com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1599)

[17:20:14 WARN]: at customcrafting-spigot-4.16.9.1.jar//me.wolfyscript.customcrafting.handlers.LocalStorageLoader$NewDataLoader.lambda$loadRecipesInNamespace$2(LocalStorageLoader.java:483)

[17:20:14 WARN]: at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423)

[17:20:14 WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)

[17:20:14 WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)

[17:20:14 WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)

[17:20:14 WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)

[17:20:14 WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Submit issue