mirror of
https://github.com/WiIIiam278/Velocitab.git
synced 2025-11-18 07:14:23 +01:00
Sets player hat visibility to true (#288)
Some checks failed
CI Tests & Publish / build (push) Failing after 2m1s
Some checks failed
CI Tests & Publish / build (push) Failing after 2m1s
Ensures that player hats are always visible in the tab list. This change sets the `showHat` property to true when creating tab list entries.
This commit is contained in:
parent
446eb824b4
commit
beed377676
@ -345,6 +345,7 @@ public class PlayerTabList {
|
|||||||
.displayName(displayName)
|
.displayName(displayName)
|
||||||
.latency(Math.max((int) player.getPlayer().getPing(), 0))
|
.latency(Math.max((int) player.getPlayer().getPing(), 0))
|
||||||
.tabList(tabList)
|
.tabList(tabList)
|
||||||
|
.showHat(true)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -362,6 +363,7 @@ public class PlayerTabList {
|
|||||||
.displayName(displayName)
|
.displayName(displayName)
|
||||||
.latency(Math.max((int) player.getPlayer().getPing(), 0))
|
.latency(Math.max((int) player.getPlayer().getPing(), 0))
|
||||||
.tabList(tabList)
|
.tabList(tabList)
|
||||||
|
.showHat(true)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user