mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-21 12:46:46 +01:00
Fixed wiki url being incorrect in various commands
This commit is contained in:
parent
7264e1a8d6
commit
79730383ab
1
.gitignore
vendored
1
.gitignore
vendored
@ -55,3 +55,4 @@
|
|||||||
|
|
||||||
# Atlassian Stuff
|
# Atlassian Stuff
|
||||||
/atlassian-ide-plugin.xml
|
/atlassian-ide-plugin.xml
|
||||||
|
/nulllocale_override.properties
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
Version 2.1.219
|
Version 2.1.219
|
||||||
|
Fixed wiki url being incorrect in commands
|
||||||
Added support for various new things from Minecraft 1.20
|
Added support for various new things from Minecraft 1.20
|
||||||
Fixed double drop issue with Beetroots
|
Fixed double drop issue with Beetroots
|
||||||
Added 'Camel' to taming experience in experience.yml
|
Added 'Camel' to taming experience in experience.yml
|
||||||
|
@ -4,7 +4,7 @@ public class McMMOUrl {
|
|||||||
public static final String urlWebsite = "https://www.mcmmo.org";
|
public static final String urlWebsite = "https://www.mcmmo.org";
|
||||||
public static final String urlDiscord = "https://discord.gg/bJ7pFS9";
|
public static final String urlDiscord = "https://discord.gg/bJ7pFS9";
|
||||||
public static final String urlPatreon = "https://www.patreon.com/nossr50";
|
public static final String urlPatreon = "https://www.patreon.com/nossr50";
|
||||||
public static final String urlWiki = "https://www.mcmmo.org/wiki/";
|
public static final String urlWiki = "https://wiki.mcmmo.org/";
|
||||||
public static final String urlSpigot = "https://spigot.mcmmo.org";
|
public static final String urlSpigot = "https://spigot.mcmmo.org";
|
||||||
public static final String urlTranslate = "https://translate.mcmmo.org/";
|
public static final String urlTranslate = "https://translate.mcmmo.org/";
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ public class TextComponentFactory {
|
|||||||
TextComponent.Builder wikiLinkComponent = Component.text().content(LocaleLoader.getString("Overhaul.mcMMO.MmoInfo.Wiki"));
|
TextComponent.Builder wikiLinkComponent = Component.text().content(LocaleLoader.getString("Overhaul.mcMMO.MmoInfo.Wiki"));
|
||||||
wikiLinkComponent.decoration(TextDecoration.UNDERLINED, true);
|
wikiLinkComponent.decoration(TextDecoration.UNDERLINED, true);
|
||||||
|
|
||||||
String wikiUrl = "https://mcmmo.org/wiki/"+subskillformatted;
|
String wikiUrl = "https://wiki.mcmmo.org/"+subskillformatted;
|
||||||
|
|
||||||
wikiLinkComponent.clickEvent(ClickEvent.openUrl(wikiUrl));
|
wikiLinkComponent.clickEvent(ClickEvent.openUrl(wikiUrl));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user