mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make unlimited player transfer distance configurable
This commit is contained in:
parent
2dc9a0c724
commit
34fd47887e
3 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,7 @@ void ServerRemotePlayer::removingFromEnvironment()
|
|||
|
||||
bool ServerRemotePlayer::unlimitedTransferDistance() const
|
||||
{
|
||||
return true;
|
||||
return g_settings->getBool("unlimited_player_transfer_distance");
|
||||
}
|
||||
|
||||
void ServerRemotePlayer::step(float dtime, bool send_recommended)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue