Skip to content

Commit

Permalink
Moved Logger -> Util
Browse files Browse the repository at this point in the history
  • Loading branch information
XDPXI committed Dec 28, 2024
1 parent 2550458 commit 862a161
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion common/src/main/java/dev/xdpxi/xdlib/CommonClass.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;

public class CommonClass {
public static void init() {
Expand Down
2 changes: 1 addition & 1 deletion common/src/main/java/dev/xdpxi/xdlib/UpdateChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;

import java.util.regex.Matcher;
import java.util.regex.Pattern;
Expand Down
1 change: 1 addition & 0 deletions common/src/main/java/dev/xdpxi/xdlib/api/v4/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import dev.xdpxi.xdlib.util.Logger;

import java.io.File;
import java.io.FileReader;
Expand Down
1 change: 1 addition & 0 deletions common/src/main/java/dev/xdpxi/xdlib/api/v4/Files.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.xdpxi.xdlib.api.v4;

import dev.xdpxi.xdlib.util.Logger;
import org.jetbrains.annotations.NotNull;

import java.io.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.xdpxi.xdlib.api.v4;
package dev.xdpxi.xdlib.util;

import org.apache.logging.log4j.LogManager;

Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/java/dev/xdpxi/xdlib/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;
import net.fabricmc.api.ModInitializer;

public class Main implements ModInitializer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.ModContainer;
import net.fabricmc.loader.api.metadata.ModMetadata;
Expand Down
2 changes: 1 addition & 1 deletion forge/src/main/java/dev/xdpxi/xdlib/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;
import net.minecraftforge.fml.common.Mod;

@Mod(Constants.MOD_ID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;
import net.minecraftforge.fml.ModList;

import java.io.BufferedReader;
Expand Down
2 changes: 1 addition & 1 deletion neoforge/src/main/java/dev/xdpxi/xdlib/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.v4.Logger;
import dev.xdpxi.xdlib.util.Logger;
import net.neoforged.fml.ModList;

import java.io.BufferedReader;
Expand Down

0 comments on commit 862a161

Please sign in to comment.