Skip to content

Commit

Permalink
use Vert.x EN publish(), not send() - re #35
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed May 1, 2018
1 parent 705d303 commit 987ac3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected void addRoutes(Router router) {

@Override
public void send(Object message) {
vertx.eventBus().send(EVENTBUS_MINECRAFT_EVENTS_ADDRESS, message);
vertx.eventBus().publish(EVENTBUS_MINECRAFT_EVENTS_ADDRESS, message);
LOG.info("Sent to EventBus: {}", message);
}
}

0 comments on commit 987ac3b

Please sign in to comment.