Commits

Thinkofname authored ad5a4f5e289
SPIGOT-76: Remove almost all Bukkit commands
No tags

src/main/java/org/bukkit/command/defaults/AchievementCommand.java

Modified
13 13 import org.bukkit.Statistic.Type;
14 14 import org.bukkit.command.Command;
15 15 import org.bukkit.command.CommandSender;
16 16 import org.bukkit.entity.EntityType;
17 17 import org.bukkit.entity.Player;
18 18 import org.bukkit.event.player.PlayerAchievementAwardedEvent;
19 19 import org.bukkit.event.player.PlayerStatisticIncrementEvent;
20 20
21 21 import com.google.common.collect.ImmutableList;
22 22
23 +@Deprecated
23 24 public class AchievementCommand extends VanillaCommand {
24 25 public AchievementCommand() {
25 26 super("achievement");
26 27 this.description = "Gives the specified player an achievement or changes a statistic value. Use '*' to give all achievements.";
27 28 this.usageMessage = "/achievement give <stat_name> [player]";
28 29 this.setPermission("bukkit.command.achievement");
29 30 }
30 31
31 32 @Override
32 33 public boolean execute(CommandSender sender, String currentAlias, String[] args) {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut