Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Feb 11, 2024
1 parent 5f31ec6 commit 38548d8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import org.jetbrains.annotations.Nullable;

import net.minecraft.text.HoverEvent;
Expand All @@ -49,6 +48,7 @@
import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.api.permission.v1.PermissibleCommandSource;
import net.legacyfabric.fabric.api.util.Location;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;

public class CommandManagerImpl implements CommandManager {
private static final Logger LOGGER = Logger.get(LoggerHelper.API, "Command Manager");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import org.jetbrains.annotations.Nullable;

import net.minecraft.text.HoverEvent;
Expand All @@ -50,6 +49,7 @@
import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.api.permission.v1.PermissibleCommandSource;
import net.legacyfabric.fabric.api.util.Location;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;

public class CommandManagerImpl implements CommandManager {
private static final Logger LOGGER = Logger.get(LoggerHelper.API, "Command Manager");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import org.jetbrains.annotations.Nullable;

import net.minecraft.text.HoverEvent;
Expand All @@ -49,6 +48,7 @@
import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.api.permission.v1.PermissibleCommandSource;
import net.legacyfabric.fabric.api.util.Location;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;

public class CommandManagerImpl implements CommandManager {
private static final Logger LOGGER = Logger.get(LoggerHelper.API, "Command Manager");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
import net.legacyfabric.fabric.api.logger.v1.Logger;

public class LoggerHelper {
public static final String API = "LegacyFabricAPI";
public static final String API = "LegacyFabricAPI";

public static Logger getLogger(String context, String... subs) {
public static Logger getLogger(String context, String... subs) {
try {
return new NativeLoggerImpl(context, subs);
} catch (NoClassDefFoundError e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package net.legacyfabric.fabric.api.permission.v1;

import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import org.jetbrains.annotations.ApiStatus;

import net.minecraft.client.MinecraftClient;
Expand All @@ -28,6 +27,7 @@
import net.fabricmc.loader.api.FabricLoader;

import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;

/**
* @deprecated Unstable API, may change in the future.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;

import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import net.minecraft.nbt.NbtCompound;

import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.api.registry.v1.RegistryHelper;
import net.legacyfabric.fabric.api.util.Identifier;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import net.legacyfabric.fabric.impl.registry.RegistryHelperImpl;
import net.legacyfabric.fabric.impl.registry.sync.compat.IdListCompat;
import net.legacyfabric.fabric.impl.registry.sync.compat.SimpleRegistryCompat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.io.FileOutputStream;
import java.io.IOException;

import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
Expand All @@ -39,6 +38,7 @@
import net.minecraft.world.level.LevelProperties;

import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import net.legacyfabric.fabric.impl.registry.sync.ServerRegistryRemapper;

@Mixin(WorldSaveHandler.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
import java.util.Set;
import java.util.regex.Pattern;

import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import net.minecraft.resource.AbstractFileResourcePack;

import net.fabricmc.loader.api.ModContainer;
import net.fabricmc.loader.api.metadata.ModMetadata;

import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.api.resource.ModResourcePack;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;

public class ModNioResourcePack extends AbstractFileResourcePack implements ModResourcePack, Closeable {
private static final Logger LOGGER = Logger.get(LoggerHelper.API, "ModNioResourcePack");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@

import com.google.common.collect.Lists;

import net.legacyfabric.fabric.impl.logger.LoggerHelper;
import net.minecraft.resource.ResourceReloadListener;

import net.legacyfabric.fabric.api.logger.v1.Logger;
import net.legacyfabric.fabric.api.resource.IdentifiableResourceReloadListener;
import net.legacyfabric.fabric.api.resource.ResourceManagerHelper;
import net.legacyfabric.fabric.api.util.Identifier;
import net.legacyfabric.fabric.impl.logger.LoggerHelper;

public class ResourceManagerHelperImpl implements ResourceManagerHelper {
private static final ResourceManagerHelperImpl INSTANCE = new ResourceManagerHelperImpl();
Expand Down

0 comments on commit 38548d8

Please sign in to comment.