Created
June 5, 2017 23:35
-
-
Save Ivorforce/55c34a87e808ffdcf5f065f307e39832 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
event.registerServerCommand(new CommandNaturalAll()); | |
event.registerServerCommand(new CommandNaturalSpace()); | |
event.registerServerCommand(new CommandNaturalFloor()); | |
// Becomes | |
event.registerServerCommand(new CommandSplit(RCConfig.commandPrefix + "natural", | |
new CommandNaturalAll(), | |
new CommandNaturalSpace(), | |
new CommandNaturalFloor() | |
)); | |
// No other changes needed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment