fix: consistency
This commit is contained in:
parent
240d75b1a1
commit
ec587b56c3
3 changed files with 1 additions and 6 deletions
|
@ -42,7 +42,7 @@ public class NickoBukkit extends JavaPlugin {
|
|||
* Used by MockBukkit
|
||||
*/
|
||||
protected NickoBukkit(Configuration configuration) {
|
||||
unitTesting = true;
|
||||
this.unitTesting = true;
|
||||
this.configuration = configuration;
|
||||
getLogger().info("Unit Testing Mode enabled.");
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package xyz.atnrch.nicko.gui.items.settings;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@ -30,7 +29,6 @@ public class LanguageCyclingItem {
|
|||
public LanguageCyclingItem(Player player) {
|
||||
this.player = player;
|
||||
this.i18n = new I18N(player);
|
||||
Bukkit.broadcastMessage(i18n.getPlayerLocale().getCode());
|
||||
this.providers = getItems();
|
||||
}
|
||||
|
||||
|
|
|
@ -92,9 +92,6 @@ public class SQLStorage extends Storage {
|
|||
locale = resultSet.getString("locale");
|
||||
bungeecord = resultSet.getBoolean("bungeecord");
|
||||
}
|
||||
System.out.println("name = " + name);
|
||||
System.out.println("skin = " + skin);
|
||||
System.out.println("locale = " + locale);
|
||||
|
||||
final NickoProfile profile = new NickoProfile(new AppearanceData(name, skin), Locale.fromCode(locale), bungeecord);
|
||||
return Optional.of(profile);
|
||||
|
|
Loading…
Reference in a new issue