mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -05:00
fix error message in enableHook
This commit is contained in:
parent
0a37b01845
commit
162979c2da
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ Result<> Mod::Impl::enableHook(Hook* hook) {
|
||||||
auto res = hook->enable();
|
auto res = hook->enable();
|
||||||
if (res) m_hooks.push_back(hook);
|
if (res) m_hooks.push_back(hook);
|
||||||
else {
|
else {
|
||||||
log::error("Can't enable hook {} for mod {}: {}", m_info.id(), res.unwrapErr());
|
log::error("Can't enable hook {} for mod {}: {}", hook->getDisplayName(), m_info.id(), res.unwrapErr());
|
||||||
}
|
}
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue