add missing return statement
This commit is contained in:
parent
0acce4b871
commit
49f84c7a3b
@ -615,7 +615,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
callbacks.registerCallback("removeTeleportBookmark", [player](Json const& bookmarkConfig) -> bool {
|
callbacks.registerCallback("removeTeleportBookmark", [player](Json const& bookmarkConfig) -> bool {
|
||||||
player->universeMap()->removeTeleportBookmark(TeleportBookmark::fromJson(bookmarkConfig));
|
return player->universeMap()->removeTeleportBookmark(TeleportBookmark::fromJson(bookmarkConfig));
|
||||||
});
|
});
|
||||||
|
|
||||||
callbacks.registerCallback("isMapped", [player](Json const& coords) {
|
callbacks.registerCallback("isMapped", [player](Json const& coords) {
|
||||||
|
Loading…
Reference in New Issue
Block a user