mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-19 04:15:14 -04:00
improve player hit box updating performance
This commit is contained in:
parent
6e36d90cde
commit
785ed9c544
@ -332,8 +332,7 @@ abstract class Entity(
|
||||
if (chestPlate != null && chestPlate.item is DyeableArmorItem) {
|
||||
chestPlate.dyedColor?.let { return it }
|
||||
}
|
||||
val team = connection.scoreboardManager.getTeam(this.name)
|
||||
val formattingCode = team?.formattingCode
|
||||
val formattingCode = tabListItem.team?.formattingCode
|
||||
if (formattingCode is RGBColor) {
|
||||
return formattingCode
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user