Advertisement
Barteks2x

Untitled

Jun 21st, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1.         Collections.sort(this.toUpdate, (coords1, coords2) ->
  2.                 ComparisonChain.start().compare(
  3.                         getClosestPlayerDistance(coords1, players),
  4.                         getClosestPlayerDistance(coords2, players)
  5.                 ).result());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement