(player *Player, command string)
| 116 | } |
| 117 | |
| 118 | func (c *Core) onTabCommand(player *Player, command string) { |
| 119 | args := strings.Split(command, " ") |
| 120 | |
| 121 | node := &c.rootCommand |
| 122 | player.WritePacket(&PacketPlayTabComplete{ |
| 123 | c.analyseTabCommand(player, args, node, 0), |
| 124 | }) |
| 125 | } |
| 126 | |
| 127 | func commandJoin(args []string, attr string) string { |
| 128 | str := attr |
no test coverage detected