Added removal

This commit is contained in:
Tracker-Friendly 2025-02-27 16:42:59 +00:00
parent 53af313799
commit be7cf301e4
1 changed files with 6 additions and 0 deletions

View File

@ -41,4 +41,10 @@ public class MatchMaker<P extends Presence<P>, T extends PresenceProvider<P>> {
}
return matches;
}
public void Remove(T match, Channel channel) {
for (Vec2i chunk : match.presence().GetChunks()) {
channels.get(channel).get(chunk).remove(match);
}
}
}