Added removal
This commit is contained in:
parent
53af313799
commit
be7cf301e4
1 changed files with 6 additions and 0 deletions
|
@ -41,4 +41,10 @@ public class MatchMaker<P extends Presence<P>, T extends PresenceProvider<P>> {
|
||||||
}
|
}
|
||||||
return matches;
|
return matches;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Remove(T match, Channel channel) {
|
||||||
|
for (Vec2i chunk : match.presence().GetChunks()) {
|
||||||
|
channels.get(channel).get(chunk).remove(match);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue