Hook conflict - Life Support forcing active item drop

Hello. Someone reported that this plugin is generating hook conflicts with my plugin Player Safety Net.

It looks like Life Support is sometimes returning `true` for CanDropActiveItem, which will force the player's active item to drop.

It looks to me like Life Support only intends to pevent or allow drops - not force drops - just like Player Safety Net, in which case it should only return `false` or `null`.

Thanks I'll take a look

Merged post

Thanks for the heads-up, and you’re right about the old code. Version 1.5.0 and earlier declared CanDropActiveItem as bool and returned true for most players, which forced the drop. That was fixed in the 2.0.0 rewrite: since then the hook returns only false (keep the held item when Life Support will save the player, or when keep-items is on) or null (no opinion). The current version, 2.4.6, never returns true. Whoever reported the conflict is most likely still on 1.5.0, and updating Life Support should clear it up. If it still happens on 2.4.6, let me know the setup and I’ll take a look.