|
@@ -39,7 +39,7 @@ public class UpdateLocationCommand extends NetCommand {
|
|
|
|
|
|
ArrayList<Integer> cardsIDList = new ArrayList<>();
|
|
|
|
|
|
- for (String user: Server.instance().getLocationTable().getUsersWithinRadius(new UserLocation(connection.getUsername(),Double.parseDouble(args[0]),Double.parseDouble(args[1])), Double.parseDouble(args[2])/1000)) {
|
|
|
+ for (String user: Server.instance().getLocationTable().getUsersWithinRadius(new UserLocation(connection.getUsername(),Double.parseDouble(args[0]),Double.parseDouble(args[1])), Double.parseDouble(args[2])/1000.0)) {
|
|
|
|
|
|
for (Integer i : CardBuilder.getSharedCardIDsFromUser(user)) {
|
|
|
|