formatting

This commit is contained in:
boy0001 2014-12-20 20:23:27 +11:00
parent 6bfc0aaf9d
commit 3d07375cff
3 changed files with 8 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.intellectualcrafters</groupId>
<artifactId>PlotSquared</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -463,7 +463,7 @@ public enum C {
* @return translated if exists else default
*/
public String s() {
return manager.getTranslated(toString(), lang).getTranslated().replaceAll("&-", "\n").replaceAll("\\n", "\n");
return manager.getTranslated(name(), lang).getTranslated().replaceAll("&-", "\n").replaceAll("\\n", "\n");
/*
* if (PlotMain.translations != null) {
* final String t = PlotMain.translations.getString(this.toString());
@ -486,4 +486,9 @@ public enum C {
public String translated() {
return ChatColor.translateAlternateColorCodes('&', this.s());
}
@Override
public String toString() {
return this.s();
}
}

View File

@ -73,7 +73,7 @@ public class PlotMeConverter {
@Override
public void run() {
sendMessage("&7Conversion has started");
sendMessage("7Caching playerdata...");
sendMessage("&7Caching playerdata...");
final ArrayList<com.intellectualcrafters.plot.object.Plot> createdPlots = new ArrayList<>();
// Online Mode
final boolean online = Bukkit.getServer().getOnlineMode() && !Settings.OFFLINE_MODE;