Permalink
Browse files

Add "win" alias for winner spawn.

  • Loading branch information...
1 parent 157b9fc commit 92aa92c3b089b9d87ed751862438cb93c48c935a @mkalus committed Apr 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/de/beimax/simplespleef/command/SimpleSpleefAdmin.java
@@ -456,6 +456,9 @@ protected void defineSpawnPoint(CommandSender sender, String spawn,
spawn = spawn.toLowerCase();
adminCommand = adminCommand.toLowerCase();
+ // aliases
+ if (adminCommand.equals("win")) adminCommand = "winner";
+
// get player location and arena
String arena = getSelectedArena(sender);
// check arena existence

0 comments on commit 92aa92c

Please sign in to comment.