Created
December 20, 2014 15:11
-
-
Save Limeth/e9f0a54201407faaf4cf 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
@Command | |
public String tell(EntityRef sender, @CommandParam(value = "target", suggester = SUGGESTER_PLAYER) EntityRef target, String message) { | |
return "sent."; | |
} | |
private final Suggester SUGGESTER_PLAYER = new Suggester() { | |
public List<EntityRef> suggest() { | |
return /*all entityrefs of players*/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment