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

Method execute_command

examples/server/src/player/command.rs:30–35  ·  view source on GitHub ↗
(
        &mut self,
        command: C,
    )

Source from the content-addressed store, hash-verified

28 }
29
30 pub fn execute_command<C: PlayerExecutableCommand>(
31 &mut self,
32 command: C,
33 ) -> Result<(), PlayerError> {
34 command.execute(self)
35 }
36
37 fn try_parse_then_execute_command<C: PlayerExecutableCommand>(
38 &mut self,

Callers 1

updateMethod · 0.80

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected