Advertisement
codex01

Untitled

Aug 10th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public boolean onCommand(CommandSender sender, Command cmd, String cmdLabel, String[] args) {
  2.  
  3. if(sender instanceof Player) {
  4.  
  5. Player p = (Player)sender;
  6.  
  7. if (cmd.getName().equalsIgnoreCase("tutorial")) {
  8. if (p.hasPermission("tutorial.tutorial")) {
  9.  
  10. }
  11. }
  12. }
  13. else {
  14. System.out.println("Du musst ein Spieler sein!");
  15. }
  16. return false;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement