mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-12-01 21:09:43 -05:00
Add Method
This commit is contained in:
1 parent
777dde6c54
commit
c94a419c14
1 file changed
+9
@@ -13,6 +13,15 @@ public class TinyGroup implements Serializable {
|
||||
this.commands = commands;
|
||||
}
|
||||
|
||||
public void add(String command) {
|
||||
if(this.commands.contains(command)) return;
|
||||
this.commands.add(command);
|
||||
}
|
||||
|
||||
public void addAll(List<String> commands) {
|
||||
commands.forEach(this::add);
|
||||
}
|
||||
|
||||
public String getGroupName() {
|
||||
return groupName;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user