Skip to content

Commit

Permalink
minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 4, 2023
1 parent 9adfa2e commit b2e8bad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Expand Up @@ -22,9 +22,9 @@ public class ScriptHelper {

/**
* Add additional script file references here as wanted/needed. Use like:
*
* <pre>
* (scripts) -> scripts.add(YamlConfiguration.load(ScriptHelper.clearComments(MY_FILENAME, MY_FILE_TEXT, true)));
*
* </pre>
* Warning: can be called async.
*/
public static List<Consumer<List<YamlConfiguration>>> buildAdditionalScripts = new ArrayList<>();
Expand Down
Expand Up @@ -143,10 +143,6 @@ public FlagCommand() {
// - flag server cool_people:<-:<[someplayer]>
//
// @Usage
// Use to clear a flag and fill it with a new list of values.
// - flag server cool_people:!|:<[player]>|<[someplayer]>|<[aplayer]>
//
// @Usage
// Use to completely remove a flag.
// - flag server cool_people:!
//
Expand Down
Expand Up @@ -13,6 +13,7 @@
import com.denizenscript.denizencore.utilities.debugging.Debug;

public class NoteCommand extends AbstractCommand {

public NoteCommand() {
setName("note");
setSyntax("note [<object>/remove] [as:<name>]");
Expand Down
Expand Up @@ -291,7 +291,7 @@ public String toString() {
return "[ArgComp: " + argstemp + " res " + result + "]";
}

public class ArgInternal {
public static class ArgInternal {

boolean negative;

Expand Down
Expand Up @@ -51,7 +51,7 @@ public interface CustomMatcher<T extends ObjectTag> {
/**
* Try a custom advanced matcher.
* Return 'true' to match, 'false' to strictly not match, or 'null' if this matcher doesn't apply.
*
* <p>
* Example usage:
* <pre>
* // NOTE: REGISTER NOT-SWITCHES WITH CAUTION. "notSwitches" is a temporary hack and has side effects! Make sure your matcher name is definitely never a switch!
Expand Down

0 comments on commit b2e8bad

Please sign in to comment.