@@ -18,7 +18,7 @@ class Hivemind:
1818 loggers : list [Logger ] = []
1919
2020 team : int = - 1
21- indicies : list [int ] = []
21+ indices : list [int ] = []
2222 names : list [str ] = []
2323 spawn_ids : list [int ] = []
2424
@@ -98,16 +98,16 @@ def _handle_packet(self, packet: flat.GameTickPacket):
9898 self ._latest_packet = packet
9999
100100 def _packet_processor (self , packet : flat .GameTickPacket ):
101- if len (self .indicies ) != len (self .spawn_ids ) or any (
102- packet .players [i ].spawn_id not in self .spawn_ids for i in self .indicies
101+ if len (self .indices ) != len (self .spawn_ids ) or any (
102+ packet .players [i ].spawn_id not in self .spawn_ids for i in self .indices
103103 ):
104- self .indicies = [
104+ self .indices = [
105105 i
106106 for i , player in enumerate (packet .players )
107107 if player .spawn_id in self .spawn_ids
108108 ]
109109
110- if len (self .indicies ) != len (self .spawn_ids ):
110+ if len (self .indices ) != len (self .spawn_ids ):
111111 return
112112
113113 self .ball_prediction = self ._latest_prediction
@@ -127,14 +127,14 @@ def _packet_processor(self, packet: flat.GameTickPacket):
127127
128128 def run (
129129 self ,
130- wants_match_communcations : bool = True ,
130+ wants_match_communications : bool = True ,
131131 wants_ball_predictions : bool = True ,
132132 ):
133133 rlbot_server_port = int (os .environ .get ("RLBOT_SERVER_PORT" , 23234 ))
134134
135135 try :
136136 self ._game_interface .connect (
137- wants_match_communcations ,
137+ wants_match_communications ,
138138 wants_ball_predictions ,
139139 rlbot_server_port = rlbot_server_port ,
140140 )
0 commit comments