Fixed /god not working for others.

This commit is contained in:
sk89q 2011-01-21 19:49:22 -08:00
parent 962394b2ba
commit 5be31ebb5c
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
3.0b2:
- Fixed issue where built-in permissions were not (re)loaded.
- Fixed /god not working for others.
3.0b1:
- Added parent-child relationships to regions.

View File

@ -484,7 +484,7 @@ private boolean handleCommand(Player player, String cmd, String[] args)
checkArgs(args, 0, 1);
// Allow setting other people invincible
if (args.length > 1) {
if (args.length > 0) {
if (!hasPermission(player, "/godother")) {
player.sendMessage(ChatColor.RED + "You don't have permission to make others invincible.");
return true;