private static bool Prefix(Bed __instance, GUIHand hand) { return(RestManager.NotifyGetCanSleep(Player.main)); }