Fix links

This commit is contained in:
dordsor21 2021-08-25 11:08:14 +01:00
parent 7d9abc9273
commit 012e55e780
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B
2 changed files with 9 additions and 8 deletions

View File

@ -89,10 +89,10 @@ public class RichMaskParser extends FaweParser<Mask> {
throw new SuggestInputParseException( throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full, new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" .of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
) )
.clickEvent(ClickEvent.openUrl( .clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
)) ))
)), )),
full, full,
@ -152,10 +152,10 @@ public class RichMaskParser extends FaweParser<Mask> {
throw new SuggestInputParseException( throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full, new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" .of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Masks"
) )
.clickEvent(ClickEvent.openUrl( .clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Masks"
)) ))
)), )),
full, full,

View File

@ -79,11 +79,12 @@ public class RichPatternParser extends FaweParser<Pattern> {
throw new SuggestInputParseException( throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full, new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" .of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki" +
"/Patterns"
) )
.clickEvent( .clickEvent(
ClickEvent.openUrl( ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
)) ))
)), )),
full, full,
@ -125,11 +126,11 @@ public class RichPatternParser extends FaweParser<Pattern> {
} catch (NoMatchException e) { } catch (NoMatchException e) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full, throw new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" .of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
) )
.clickEvent( .clickEvent(
com.sk89q.worldedit.util.formatting.text.event.ClickEvent.openUrl( com.sk89q.worldedit.util.formatting.text.event.ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
)) ))
)); ));
} }