Created
February 27, 2015 16:22
-
-
Save Victorious3/440c6cc458dcae533854 to your computer and use it in GitHub Desktop.
Inline GUI prompts
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
Prompt.show("Want to cheat yourself diamonds?", Prompt.YES, Prompt.NO).on(Prompt.YES, Side.SERVER, (player) -> player.getInventory().add(diamonds)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment