Added removal
This commit is contained in:
parent
53af313799
commit
be7cf301e4
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue