Created
February 12, 2016 20:31
-
-
Save kinggoesgaming/cec674e7786b16c7ee23 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 { | |
public AnotherOne() { | |
} | |
@CommandSpecifier("inscrutable", "poet") private CommandSpec inscrutableThePoet = CommandSpec.builder.description(Text.of("I love Insrutable's poetry!").build(); | |
@CommandSpecifier("haxy") private CommandSpec clienthaxHacks = CommandSpec.builder.description().build(); | |
} |
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
@Listener | |
public void onInit(GameInitializationEvent e) { | |
Sponge.getCommandManager().register(this, new AnotherOne()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment