remove unnecessary dependency change

This commit is contained in:
wish
2023-11-28 23:40:47 +11:00
parent 7b7b2874c5
commit 8d02c9f907

View File

@@ -10,7 +10,6 @@ import (
"erupe-ce/network/binpacket" "erupe-ce/network/binpacket"
"erupe-ce/network/mhfpacket" "erupe-ce/network/mhfpacket"
"fmt" "fmt"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices" "golang.org/x/exp/slices"
"math" "math"
"strconv" "strconv"
@@ -325,7 +324,7 @@ func parseChatCommand(s *Session, command string) {
} }
case commands["Help"].Prefix: case commands["Help"].Prefix:
if commands["Help"].Enabled { if commands["Help"].Enabled {
for _, command := range maps.Values(commands) { for _, command := range commands {
sendServerChatMessage(s, fmt.Sprintf("%s%s: %s", s.server.erupeConfig.CommandPrefix, command.Prefix, command.Description)) sendServerChatMessage(s, fmt.Sprintf("%s%s: %s", s.server.erupeConfig.CommandPrefix, command.Prefix, command.Description))
} }
} else { } else {