Skript Recipes breaking FastCraft
BetaBurnt opened this issue ยท 2 comments
Description
When using Skript with skQuery to add a recipe, FastCraft bugs out and fails to register any recipes as a result - causing the GUI to be blank and errors to be given in the console. This is also causing the recipes Skript is adding to break, giving untextured items as a result, even though they work perfectly fine with FastCraft removed.
Reproduction
- Run a server on the latest Spigot 1.12 build with the versions of FastCraft, Skript and skQuery (linked below) only.
- Add the recipe.sk script file attached to the '/plugins/Skript/scripts' folder and restart the server.
- Log in and get 6 saplings (any kind but all 6 the same).
- Click a workbench - FastCraft gui comes up, no recipes shown and error in the console (linked below).
- Click the craft table icon to use the normal table, put the 6 saplings in 6 different slots on the table, get an untextured item.
If you disable/remove FastCraft and restart the server, then put the 6 saplings on the workbench, it works fine and gives the leaves for the kind of sapling you used as it should.
Worth noting:: FastCrafts GUI bugs, and the error is given, when any recipe is being added by Skript, however the untextured result only happens with shapeless recipes added like those in the skript attached, any shaped recipes added still break FastCrafts GUI but they work fine on normal crafting.
Details
- FastCraft Version: 0.27.1
- Server Version: Spigot 1.12 (Builds updated frequently, currently the latest available
- Skript version: dev29 from Benskus fork (https://github.com/bensku/Skript/releases)
- skQuery version: 3.5.8 from the LimeGlass fork (https://forums.skunity.com/resources/unofficial-skquery-fork-1-6-1-12.68/)
Recipes skript (rename extension to .sk): recipes.txt
Console error: error.txt
Edit/Update:: Only does the untextured result for some recipes - Oak saplings > Oak leaves does it, Spruce Saplings > Spruce leaves do not, for no apparent reason (all work fine when FCP isn't installed). No skripted recipes added are being registered on the FCGui though, and cause the errors.