So after the latest oxide/rust update I get this:
My code is simply this:
Any ideas?Code:private HitInfo OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitInfo) { if (Convert.ToBoolean(Config["bProtectionEnabled"]) == true) { OnEntityTakeDamageEx(entity, hitInfo); } return null; }
Fixed 'Unable to call hook directly' warning
Discussion in 'Rust Discussion' started by Norn, Oct 6, 2015.
-
Wulf Community Admin
It's mainly just a warning from the recently added hook dispatch, which we'll likely suppress and just use remote logging for it instead. It's rare, but we're not sure how your plugin is triggering it. Looking at your latest plugin changes, it appears all you did was remove the hook-ception where you call your own through it.
-
-
Wulf Community Admin
[DOUBLEPOST=1444221769,1444138343][/DOUBLEPOST]This should be fixed in the latest snapshots. Thanks for the report! -