mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Cleanup: drop Server::hudGetHotbarImage()
Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
void setHotbarImage(const std::string &name) { hud_hotbar_image = name; }
|
||||
|
||||
std::string getHotbarImage() const { return hud_hotbar_image; }
|
||||
const std::string &getHotbarImage() const { return hud_hotbar_image; }
|
||||
|
||||
void setHotbarSelectedImage(const std::string &name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user