mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-25 23:43:44 +02:00 
			
		
		
		
	copy paste error.
This commit is contained in:
		| @@ -7,6 +7,7 @@ import org.bukkit.command.CommandSender; | ||||
| import org.bukkit.entity.Player; | ||||
|  | ||||
| import com.gmail.nossr50.commands.CommandHelper; | ||||
| import com.gmail.nossr50.config.Config; | ||||
| import com.gmail.nossr50.locale.LocaleLoader; | ||||
| import com.gmail.nossr50.util.Permissions; | ||||
|  | ||||
| @@ -44,8 +45,8 @@ public class MccCommand implements CommandExecutor { | ||||
|         player.sendMessage("/mcstats " + LocaleLoader.getString("Commands.Stats")); | ||||
|         player.sendMessage("/mctop " + LocaleLoader.getString("Commands.Leaderboards")); | ||||
|  | ||||
|         if (Permissions.getInstance().skillReset(player)) { | ||||
|             player.sendMessage("/skillreset <skill|all> " + LocaleLoader.getString("Commands.ToggleAbility")); | ||||
|         if (Config.getInstance().getCommandSkillResetEnabled() && Permissions.getInstance().skillReset(player)) { | ||||
|             player.sendMessage("/skillreset <skill|all> " + LocaleLoader.getString("Commands.Reset")); | ||||
|         } | ||||
|          | ||||
|         if (Permissions.getInstance().mcAbility(player)) { | ||||
|   | ||||
| @@ -366,7 +366,7 @@ public class mcMMO extends JavaPlugin { | ||||
|             getCommand("mcstats").setExecutor(new McstatsCommand()); | ||||
|         } | ||||
|  | ||||
|         if (configInstance.getCommandMCStatsEnabled()) { | ||||
|         if (configInstance.getCommandSkillResetEnabled()) { | ||||
|             getCommand("skillreset").setExecutor(new SkillResetCommand()); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Bill Tarbell
					Bill Tarbell