Cuberite Forum
Duplicating Crafting Results with HOOK_PRE_CRAFTING - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Duplicating Crafting Results with HOOK_PRE_CRAFTING (/thread-2047.html)



Duplicating Crafting Results with HOOK_PRE_CRAFTING - SamJBarney - 07-08-2015

I'm using HOOK_PRE_CRAFTING to allow for world-specific crafting recipes. However, if I'm too quick moving items around in the crafting grid I can get the item without using any items.
Also, if I right click and drag, the crafted item doesn't show up.
I'm sure it's a bug in my plugin code, but I haven't been able to track it down.

Any help would be appreciated.

It's my Wasteland plugin. You can find it at: https://github.com/SamJBarney/Wasteland