fix: consistency

This commit is contained in:
ineanto 2023-08-19 15:30:28 +02:00
parent 240d75b1a1
commit ec587b56c3
3 changed files with 1 additions and 6 deletions

View file

@ -42,7 +42,7 @@ public class NickoBukkit extends JavaPlugin {
* Used by MockBukkit * Used by MockBukkit
*/ */
protected NickoBukkit(Configuration configuration) { protected NickoBukkit(Configuration configuration) {
unitTesting = true; this.unitTesting = true;
this.configuration = configuration; this.configuration = configuration;
getLogger().info("Unit Testing Mode enabled."); getLogger().info("Unit Testing Mode enabled.");
} }

View file

@ -1,6 +1,5 @@
package xyz.atnrch.nicko.gui.items.settings; package xyz.atnrch.nicko.gui.items.settings;
import org.bukkit.Bukkit;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.Sound; import org.bukkit.Sound;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -30,7 +29,6 @@ public class LanguageCyclingItem {
public LanguageCyclingItem(Player player) { public LanguageCyclingItem(Player player) {
this.player = player; this.player = player;
this.i18n = new I18N(player); this.i18n = new I18N(player);
Bukkit.broadcastMessage(i18n.getPlayerLocale().getCode());
this.providers = getItems(); this.providers = getItems();
} }

View file

@ -92,9 +92,6 @@ public class SQLStorage extends Storage {
locale = resultSet.getString("locale"); locale = resultSet.getString("locale");
bungeecord = resultSet.getBoolean("bungeecord"); 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); final NickoProfile profile = new NickoProfile(new AppearanceData(name, skin), Locale.fromCode(locale), bungeecord);
return Optional.of(profile); return Optional.of(profile);