MCPcopy Create free account
hub / github.com/Vulae/pkmc / update_client_command_list

Method update_client_command_list

pkmc-server/src/command.rs:294–302  ·  view source on GitHub ↗
(
        &mut self,
        connection: &ConnectionSender,
    )

Source from the content-addressed store, hash-verified

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,

Callers 1

define_commandsMethod · 0.80

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected