fix player.description
being player[" description"]
instead
This commit is contained in:
parent
4da15c42e0
commit
7c29196eff
@ -95,7 +95,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
callbacks.registerCallback(" description", [player]() { return player->description(); });
|
callbacks.registerCallback( "description", [player]() { return player->description(); });
|
||||||
callbacks.registerCallback("setDescription", [player](String const& description) { player->setDescription(description); });
|
callbacks.registerCallback("setDescription", [player](String const& description) { player->setDescription(description); });
|
||||||
|
|
||||||
callbacks.registerCallback( "name", [player]() { return player->name(); });
|
callbacks.registerCallback( "name", [player]() { return player->name(); });
|
||||||
|
Loading…
Reference in New Issue
Block a user