mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
2.1.0 is probably playable now, but not unfinished
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package com.gmail.nossr50.commands.skills;
|
||||
|
||||
import com.gmail.nossr50.datatypes.json.McMMOUrl;
|
||||
import com.gmail.nossr50.locale.LocaleLoader;
|
||||
import com.gmail.nossr50.util.StringUtils;
|
||||
|
||||
public enum McMMOWebLinks {
|
||||
@ -20,4 +21,25 @@ public enum McMMOWebLinks {
|
||||
{
|
||||
return StringUtils.getCapitalized(toString());
|
||||
}
|
||||
|
||||
public String getLocaleDescription()
|
||||
{
|
||||
switch (this)
|
||||
{
|
||||
case WEBSITE:
|
||||
return LocaleLoader.getString( "JSON.URL.Website");
|
||||
case DISCORD:
|
||||
return LocaleLoader.getString( "JSON.URL.Discord");
|
||||
case PATREON:
|
||||
return LocaleLoader.getString( "JSON.URL.Patreon");
|
||||
case HELP_TRANSLATE:
|
||||
return LocaleLoader.getString( "JSON.URL.Translation");
|
||||
case SPIGOT:
|
||||
return LocaleLoader.getString("JSON.URL.Spigot");
|
||||
case WIKI:
|
||||
return LocaleLoader.getString("JSON.URL.Wiki");
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user