Skip to content

Commit

Permalink
Fixed dumb error
Browse files Browse the repository at this point in the history
  • Loading branch information
Flxma committed May 18, 2020
1 parent 2732e16 commit b2deb34
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/flexusma/jdacmdh/CommandListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void executeCommand(Command c, CommandEvent e, MessageReceivedEvent me, CommandP

@Override
public void onReady(@Nonnull ReadyEvent event) {
if(!customActivity.isEmpty())
if(customActivity.isEmpty())
event.getJDA().getPresence().setActivity(Activity.listening("@" + event.getJDA().getSelfUser().getAsTag() + " "));
else event.getJDA().getPresence().setActivity(Activity.playing(customActivity));
super.onReady(event);
Expand Down
Binary file modified target/JDA-CMDH-1.1.14+b1-shaded.jar
Binary file not shown.
Binary file modified target/JDA-CMDH-1.1.14+b1.jar
Binary file not shown.
Binary file modified target/original-JDA-CMDH-1.1.14+b1.jar
Binary file not shown.

0 comments on commit b2deb34

Please sign in to comment.