Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
Add "win" alias for winner spawn.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalus committed Apr 15, 2012
1 parent 157b9fc commit 92aa92c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -456,6 +456,9 @@ protected void defineSpawnPoint(CommandSender sender, String spawn,
spawn = spawn.toLowerCase(); spawn = spawn.toLowerCase();
adminCommand = adminCommand.toLowerCase(); adminCommand = adminCommand.toLowerCase();


// aliases
if (adminCommand.equals("win")) adminCommand = "winner";

// get player location and arena // get player location and arena
String arena = getSelectedArena(sender); String arena = getSelectedArena(sender);
// check arena existence // check arena existence
Expand Down

0 comments on commit 92aa92c

Please sign in to comment.