File tree Expand file tree Collapse file tree
src/main/kotlin/com/mairwunnx/projectessentials/projectessentialsspawn/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import com.mairwunnx.projectessentials.projectessentialsspawn.enums.ForgeRootPat
44import net.minecraft.client.Minecraft
55import java.io.File
66
7+ // TODO: MOVE TO CORE PROJECT!!!
8+
79private val clientRootDir by lazy {
810 Minecraft .getInstance().gameDir.absolutePath
911}
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import com.mairwunnx.projectessentials.projectessentialsspawn.MOD_VERSION
66import net.minecraftforge.versions.forge.ForgeVersion
77import org.apache.logging.log4j.LogManager
88
9+ // TODO: MOVE TO CORE PROJECT!!
10+
911private val logger = LogManager .getLogger()
1012
1113internal fun validateForgeVersion () {
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import net.minecraftforge.api.distmarker.Dist
66import net.minecraftforge.fml.DistExecutor
77import java.io.File
88
9+ // TODO: MOVE TO CORE PROJECT!!!
10+
911internal val CONFIG_FOLDER = root + File .separator + " config"
1012internal val MOD_CONFIG_FOLDER =
1113 CONFIG_FOLDER + File .separator + PART_OF_MOD .replace(" " , " " )
You can’t perform that action at this time.
0 commit comments