give each mc client a destination number when connecting

master
Alex 2022-03-15 21:30:47 +01:00
parent f340e54f80
commit 141b33dadc
1 changed files with 2 additions and 2 deletions

View File

@ -322,9 +322,9 @@ func GenerateDestForNewMinecraftClient() int {
func isDestInUsageFromOneMinecraftClient(dest int) bool {
for _, mcClient := range cache.MinecraftClients {
if mcClient.Dest == dest {
return true
return false
}
}
return false
return true
}