MCPcopy Create free account
hub / github.com/TyphoonMC/TyphoonCore / onTabCommand

Method onTabCommand

command.go:118–125  ·  view source on GitHub ↗
(player *Player, command string)

Source from the content-addressed store, hash-verified

116}
117
118func (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
127func commandJoin(args []string, attr string) string {
128 str := attr

Callers 1

HandleMethod · 0.80

Calls 2

analyseTabCommandMethod · 0.95
WritePacketMethod · 0.80

Tested by

no test coverage detected