reply handling

master
Alex 2021-12-29 22:30:00 +01:00
parent 0c1e06761f
commit bcc9d970d3
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ func removeCmdIDFromList(arr []int, cmdID int) ([]int, error) {
func getCmdIDIndexFromList(arr []int, cmdID int) int {
for i := 0; i < len(arr); i++ {
logger.Minecraft.Info("getCmdIDIndexFromList", i, arr[i], cmdID)
if arr[i] == cmdID {
logger.Web.Debugln("getCmdIDIndexFromList", i)
return i