mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Remove the redundant "avatar_allow_offline_mode_uuids" option.
Since {name} and {uuid} can be used in avatar_source_offline_mode, this option no longer serves a purpose. The avatar_source_offline_mode option makes avatar_allow_offline_mode_uuids obsolete.
This commit is contained in:
parent
ca7e7dcccc
commit
b45b174923
@ -210,10 +210,6 @@ class Page {
|
||||
|
||||
if (strlen($uuid) === 36 && $uuid[14] === '3') {
|
||||
$avatar_source = $this->settings->avatar_source_offline_mode;
|
||||
// Avatars cannot be associated with offline mode UUIDs (version 3)
|
||||
if (!$this->settings->avatar_allow_offline_mode_uuids) {
|
||||
$uuid = $name;
|
||||
}
|
||||
}
|
||||
|
||||
$uuid = $this->uuid_undashify($uuid);
|
||||
|
@ -80,9 +80,6 @@ final class Settings {
|
||||
// If enabled, names will be shown below avatars instead of being shown next to them.
|
||||
$this->avatar_names_below = true;
|
||||
|
||||
// If enabled, offline-mode UUIDs will be requested from avatar_source instead of player names.
|
||||
$this->avatar_allow_offline_mode_uuids = false;
|
||||
|
||||
// If enabled, the total amount of bans, mutes, warnings, and kicks will be shown next to the buttons in the header.
|
||||
$this->header_show_totals = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user