Skip to content

Commit

Permalink
very important todo
Browse files Browse the repository at this point in the history
  • Loading branch information
bazke committed Oct 28, 2023
1 parent 7830bc9 commit 92187a9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public static void onServerTick(TickEvent.ServerTickEvent event) {
//maybe something like below?
for (Poi poi : manager.getAllPois()) {
for (UUID face : poi.faces()) {

//TODO wait, is this backwards? im so tired. does it matter? i dont know.
if (hosts.stream().noneMatch(p -> p.getUUID().equals(face))) {
manager.removeFace(poi.name(), face);
}
Expand Down

0 comments on commit 92187a9

Please sign in to comment.