Removed bad localization system

This commit is contained in:
Auxilor
2021-07-16 18:40:52 +02:00
committed by Auxilor
parent d73c665d20
commit 255bb4b38e
8 changed files with 4 additions and 114 deletions

View File

@@ -26,12 +26,10 @@ import com.willfp.eco.internal.factory.EcoMetadataValueFactory;
import com.willfp.eco.internal.factory.EcoNamespacedKeyFactory;
import com.willfp.eco.internal.factory.EcoRunnableFactory;
import com.willfp.eco.internal.gui.EcoGUIFactory;
import com.willfp.eco.internal.i18n.LocalizationUtils;
import com.willfp.eco.internal.integrations.PlaceholderIntegrationPAPI;
import com.willfp.eco.internal.logging.EcoLogger;
import com.willfp.eco.internal.proxy.EcoProxyFactory;
import com.willfp.eco.internal.scheduling.EcoScheduler;
import org.bukkit.NamespacedKey;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
@@ -124,11 +122,6 @@ public final class EcoHandler extends EcoSpigotPlugin implements Handler {
return new EcoProxyFactory(plugin);
}
@Override
public String getLocalizedString(@NotNull final NamespacedKey key) {
return LocalizationUtils.getStringFromKey(key).toString();
}
@Override
public void addNewPlugin(@NotNull final EcoPlugin plugin) {
Plugins.LOADED_ECO_PLUGINS.put(plugin.getName().toLowerCase(), plugin);