diff --git a/VelocityCore/src/de/steamwar/velocitycore/discord/VacationCommand.java b/VelocityCore/src/de/steamwar/velocitycore/discord/VacationCommand.java index 2c43356c..f4121468 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/discord/VacationCommand.java +++ b/VelocityCore/src/de/steamwar/velocitycore/discord/VacationCommand.java @@ -180,7 +180,7 @@ public class VacationCommand extends ListenerAdapter { .filter(pair -> pair.right().startsWith(vacation)) .limit(25) .map(pair -> { - return new Command.Choice(pair.right(), pair.left().getLocation()); + return new Command.Choice(pair.right(), Long.parseLong(pair.left().getLocation())); }) .collect(Collectors.toList()); event.replyChoices(choices)