diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8ed59af7..5bb4bab7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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. diff --git a/src/com/sk89q/worldguard/bukkit/WorldGuardPlugin.java b/src/com/sk89q/worldguard/bukkit/WorldGuardPlugin.java index 5b303c4f..1b728b52 100644 --- a/src/com/sk89q/worldguard/bukkit/WorldGuardPlugin.java +++ b/src/com/sk89q/worldguard/bukkit/WorldGuardPlugin.java @@ -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;