I'm running a solo only server, we have a plugin which prevents people from assigning sleeping bags/beds to other players - the plugin was working fine but recently I've noticed the CanAssignBed hook is not being called, there is no errors being displayed in the console, it just doesn't call it at all.
Any help would be much appreciated!
Solved CanAssignBed no longer working?
Discussion in 'Rust Development' started by Wilsonator, Jul 13, 2018.
-
check that the function signature matches the one on docs
-
object CanAssignBed(SleepingBag bag, BasePlayer player, ulong targetPlayerId)
But it is not being called at all. -
From what I see here
Code:if (Interface.CallHook("CanAssignBed", msg.player, this, num) != null)