Cuberite Forum

Full Version: Duplicating Crafting Results with HOOK_PRE_CRAFTING
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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