Ok, nooow it should work

This commit is contained in:
Norbi Peti 2016-12-20 23:07:58 +01:00
parent 2cbfdff383
commit cd3cc633fb

View file

@ -92,7 +92,7 @@ public class MCChatListener implements Listener, IListener<MessageReceivedEvent>
dmessage + (event.getMessage().getAttachments().size() > 0 ? "\n" + event.getMessage()
.getAttachments().stream().map(a -> a.getUrl()).collect(Collectors.joining("\n"))
: ""));
event.getMessage().addReaction("%E2%9C%85");
event.getMessage().addReaction("");
} catch (Exception e) {
TBMCCoreAPI.SendException("An error occured while handling " + dmessage + "!", e);
return;