blob: ae82efda173b2b55236b1fc0afe071968a835b32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package cat.freya.cbl.command;
import java.util.List;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import cat.freya.cbl.Main;
import cat.freya.cbl.command.util.ICommand;
public class Toggle implements ICommand {
public void execute(Player sender, String[] args) {
Main.instance.chatManager.toggleUUID(sender.getUniqueId());
}
public String getLabel() {
return "toggle";
}
public String getUsage() {
return "";
}
public String getDescription() {
return "Toggles command block location for you";
}
public List<String> autoComplete(@NotNull String parameter, @NotNull String typed) {
return null;
}
}
|