1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Make players check inventory modification properly

This commit is contained in:
ShadowNinja 2014-09-02 12:53:20 -04:00
parent 8b3135a643
commit e9c9b66ae9
6 changed files with 39 additions and 9 deletions

View file

@ -478,6 +478,7 @@ Player *ServerEnvironment::loadPlayer(const std::string &playername)
if (newplayer) {
addPlayer(player);
}
player->setModified(false);
return player;
}