Created
September 24, 2018 23:15
-
-
Save Crypnotic/b9b76cb480359d843b4842f5417146db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MCTestBungee extends Plugin implements Listener { | |
@Override | |
public void onEnable() { | |
IPipeline alpha = MessageChannelAPI.getPipelineRegistry().register("alpha"); | |
IPipeline bravo = MessageChannelAPI.getPipelineRegistry().register("bravo"); | |
alpha.onReceive(alpha::send); | |
bravo.onReceive(bravo::send); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment