MultiServer/CommonClient: We forgot about Item Links again (Hint Priority) (#4314)

* Vi don't forget about itemlinks challenge difficulty impossible

* People other than Vi also don't forget about ItemLinks challenge difficulty impossible
This commit is contained in:
NewSoupVi
2024-12-10 20:35:36 +01:00
committed by GitHub
parent 781100a571
commit 5dd19fccd0
3 changed files with 4 additions and 4 deletions

View File

@@ -232,7 +232,7 @@ class JSONtoTextParser(metaclass=HandlerMeta):
def _handle_player_id(self, node: JSONMessagePart):
player = int(node["text"])
node["color"] = 'magenta' if player == self.ctx.slot else 'yellow'
node["color"] = 'magenta' if self.ctx.slot_concerns_self(player) else 'yellow'
node["text"] = self.ctx.player_names[player]
return self._handle_color(node)