Search in sources :

Example 1 with RemovingString

use of me.earth.earthhack.impl.modules.client.autoconfig.RemovingString in project 3arthh4ck by 3arthqu4ke.

the class Media method add.

@Override
public void add(String[] args) {
    if (args.length < 4) {
        ChatUtil.sendMessage(TextColor.RED + "Please specify a Replacement!");
        return;
    }
    RemovingString setting = addSetting(args[2]);
    if (setting == null) {
        ChatUtil.sendMessage(TextColor.RED + "A Replacement for " + TextColor.WHITE + args[2] + TextColor.RED + " already exists!");
        return;
    }
    setting.fromString(CommandUtil.concatenate(args, 3));
}
Also used : RemovingString(me.earth.earthhack.impl.modules.client.autoconfig.RemovingString)

Aggregations

RemovingString (me.earth.earthhack.impl.modules.client.autoconfig.RemovingString)1