(
&mut self,
connection: &ConnectionSender,
)
| 292 | } |
| 293 | |
| 294 | pub fn update_client_command_list( |
| 295 | &mut self, |
| 296 | connection: &ConnectionSender, |
| 297 | ) -> Result<(), ConnectionError> { |
| 298 | connection.send(&packet::play::CommandDefinitions { |
| 299 | defs: &self.registered, |
| 300 | })?; |
| 301 | Ok(()) |
| 302 | } |
| 303 | |
| 304 | pub fn parse<T: CommandListener>( |
| 305 | &self, |