Skip to content
Permalink
Branch: master
Commits on Jun 7, 2019
  1. resolves #214 (#215)

    NiklasEi authored and chickeneer committed Jun 7, 2019
Commits on Aug 6, 2018
  1. Improve logging concerning command replacements (#161)

    NiklasEi authored and aikar committed Aug 6, 2018
    The code is now checking for placeholders, that are not replaced. This would also warn the dev if he completely forgets to register a replacement. 
    The downside of this is, that any %.* kind of pattern, that is NOT supposed to be a replacement will cause an error message. But since I couldn't come up for a reason to include % in any of the Annotation values other than a replacement, I decided this is much easier than checking all "old" commands when a replacement is registered.
    Alternatively, I could collect all these unreplaced replacements and check against the collection when a new one is registered. This would not warn a dev that forgot to register the replacement, but on the other hand still allows the use of %. Please tell me what you think.
    
    resolves #160
You can’t perform that action at this time.