Fix compile error

This commit is contained in:
Jedediah Smith 2017-02-07 05:27:11 -05:00
parent c06e44fdb3
commit 0562d80699
1 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ import tc.oc.api.message.types.UpdateMultiResponse;
import tc.oc.api.minecraft.users.UserStore; import tc.oc.api.minecraft.users.UserStore;
import tc.oc.api.model.NullModelService; import tc.oc.api.model.NullModelService;
import tc.oc.api.users.UserService; import tc.oc.api.users.UserService;
import tc.oc.api.util.UUIDs;
import tc.oc.commons.core.stream.Collectors; import tc.oc.commons.core.stream.Collectors;
import tc.oc.minecraft.api.entity.Player; import tc.oc.minecraft.api.entity.Player;
@ -44,7 +43,7 @@ public class LocalMapService extends NullModelService<MapDoc, MapDoc> implements
maps.stream() maps.stream()
.flatMap(MapDoc::authorAndContributorUuids) .flatMap(MapDoc::authorAndContributorUuids)
.distinct() .distinct()
.collect(Collectors.mappingTo(uuid -> (ListenableFuture) userService.find(() -> UUIDs.normalize(uuid)))) .collect(Collectors.mappingTo(uuid -> (ListenableFuture) userService.find(uuid::toString)))
); );
} }
} }