Permalink
Browse files

Fixed note generation in ICType.

  • Loading branch information...
me4502 committed Jan 18, 2018
1 parent 683a7ea commit 6dea67938d43ed9c2c5a9912995ec77e1c1598d3
Showing with 2 additions and 2 deletions.
  1. +1 −1 craftbook-sponge/src/main/java/com/sk89q/craftbook/sponge/mechanics/ics/ICType.java
  2. +1 −1 docs
@@ -149,7 +149,7 @@ public String performCustomConversions(String input) {
if (this.icFactory instanceof RestrictedIC) {
icHeader += "\n\n";
icHeader += ".. NOTE:\n This IC is marked as `Restricted`. This means it's not necessarily suitable for normal players.\n";
icHeader += ".. note::\n\n This IC is marked as `Restricted`. This means it's not necessarily suitable for normal players.\n";
}
return IC_HEADER_PATTERN.matcher(input).replaceAll(Matcher.quoteReplacement(icHeader));

0 comments on commit 6dea679

Please sign in to comment.