1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +01:00

update all locale files

This commit is contained in:
Zrips 2016-03-13 16:35:23 +02:00
parent 3f4f113891
commit 2f8e12c829
6 changed files with 17 additions and 8 deletions

View File

@ -656,7 +656,7 @@ public class JobsConfiguration {
"0.2 means 20% of original price");
superBreakerMultiplier = getDouble("ExploitProtections.McMMO.superBreakerMultiplier", 0.2, config, writer);
writer.addComment("ExploitProtections.MythicMobs", "MythicMobs plugin support","Disable if you having issues with it or using old version");
writer.addComment("ExploitProtections.MythicMobs", "MythicMobs plugin support", "Disable if you having issues with it or using old version");
MythicMobsEnabled = getBoolean("ExploitProtections.MythicMobs.enabled", true, config, writer);
writer.addComment("ExploitProtections.Spawner.PreventSlimeSplit", "Prevent slime spliting when they are from spawner",
@ -1274,7 +1274,6 @@ public class JobsConfiguration {
langFile.saveDefaultConfig();
}
languages.clear();
languages.add("en");
File customLocaleFile = new File(plugin.getDataFolder(), "locale" + File.separator + "messages_" + localeString + ".yml");

View File

@ -25,3 +25,4 @@
/ExploreRegion.class
/ExploreChunk.class
/ExploreWorld.class
/ExploreRespond.class

View File

@ -513,7 +513,8 @@ public class JobsPlayer {
}
honorific = builder.toString().trim();
honorific = ConfigManager.getJobsConfiguration().getModifyChatPrefix() + honorific + ConfigManager.getJobsConfiguration().getModifyChatSuffix();
if (honorific.length() > 0)
honorific = ConfigManager.getJobsConfiguration().getModifyChatPrefix() + honorific + ConfigManager.getJobsConfiguration().getModifyChatSuffix();
}

View File

@ -445,6 +445,9 @@ public abstract class JobsDAO {
while (res.next()) {
if (res.getString("username") == null)
continue;
TopList top = new TopList(res.getString("username"), res.getInt("totallvl"), 0, UUID.fromString(res.getString("player_uuid")));
names.add(top);
@ -840,8 +843,12 @@ public abstract class JobsDAO {
+ "jobs` WHERE `job` LIKE ? ORDER BY `level` DESC, LOWER(username) ASC LIMIT " + limit + ", 15;");
prest.setString(1, jobsname);
ResultSet res = prest.executeQuery();
Debug.D("her2e");
while (res.next()) {
Debug.D("here");
String name = res.getString(1);
if (name == null)

View File

@ -1,2 +1,3 @@
/v1_8.class
/v1_7.class
/v1_9.class

View File

@ -1,7 +1,7 @@
name: Jobs
description: Jobs Plugin for the BukkitAPI
main: com.gamingmesh.jobs.JobsPlugin
version: 2.63.1
version: 2.63.3
author: phrstbrn
softdepend: [Vault, CoreProtect, MythicMobs, McMMO]
commands: