No lua error. People started poking in the comments that it was disabling restart sustain when both were on, and testing, that does seem to be the case. You can set the details but resting won't trigger it. Both addons are overriding the rest function but not sure how that gets made to play nicely together.[sound F/X: source diving]
Ah, yes, you're overloading Player:restCheck(), which is where Restart Sustains does most of its work. I can see you're making a lot of complex changes that really wouldn't be amenable to converting it to a superload. Hmm…
…Okay, I think we can make this work. It would involve me splitting off most of the guts of my superloaded :restCheck() into a separate method that your overloaded :restCheck() could call. So at the top of your :restCheck() method you'd have something like this:
local function passthru(ret, msg)
if self.restCheck_restartSustains then
-- If Restart Sustains is present, hand off to it.
return self:restCheck_restartSustains(ret, msg)
-- Otherwise, return what we were going to return anyway.
return ret, msg
Then you'd need to change all your return statements from e.g.
return false, "reason we stopped resting"
return passthru(false, "reason we stopped resting")
It's a bit intrusive into your code, but I can't think of any obvious easier approach.