Implements the remove condition command and its tab completer

This commit is contained in:
2022-02-19 18:22:39 +01:00
parent 90b5ff7304
commit 2f559ce2af
6 changed files with 93 additions and 3 deletions

View File

@ -137,4 +137,13 @@ public class PaidSign {
this.conditions.put(line, new PaidSignCondition(stringToMatch, executeRegex, ignoreCaseBoolean, ignoreColorBoolean));
}
/**
* Removes a condition from this paid sign
*
* @param line <p>The sign line the condition belongs to</p>
*/
public void removeCondition(short line) {
this.conditions.remove(line);
}
}