Better handle hidenames: true
This commit is contained in:
parent
42cdb8fba7
commit
3e095c0ae9
@ -523,7 +523,7 @@ export default {
|
||||
account: player.account || "",
|
||||
health: player.health || 0,
|
||||
armor: player.armor || 0,
|
||||
name: player.name ? sanitizer.sanitize(player.name) : "Steve",
|
||||
name: player.name ? sanitizer.sanitize(player.name) : "",
|
||||
sort: player.sort || 0,
|
||||
hidden: !world,
|
||||
location: {
|
||||
|
@ -126,6 +126,7 @@ export default defineComponent({
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 3.2rem;
|
||||
}
|
||||
|
||||
&.player--hidden {
|
||||
|
Loading…
Reference in New Issue
Block a user