Skip to content

Commit

Permalink
refactor(next): cpw
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Sep 27, 2022
1 parent 659377d commit 2ed0353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package org.auioc.mcmod.arnicalib.utils.game;
package org.auioc.mcmod.arnicalib.game.cpw;

import java.util.Locale;
import cpw.mods.modlauncher.Launcher;
import cpw.mods.modlauncher.api.IEnvironment;

public interface EnvironmentUtils {
public class EnvironmentUtils {

boolean IS_DEV = isDev();
public static final boolean IS_DEV = isDev();

static boolean isDev() {
public static boolean isDev() {
return Launcher.INSTANCE
.environment()
.getProperty(IEnvironment.Keys.LAUNCHTARGET.get())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import org.auioc.mcmod.arnicalib.ArnicaLib;
import org.auioc.mcmod.arnicalib.game.command.DynamicCommandHandler;
import org.auioc.mcmod.arnicalib.game.command.node.VersionCommandNode;
import org.auioc.mcmod.arnicalib.game.cpw.EnvironmentUtils;
import org.auioc.mcmod.arnicalib.server.command.impl.RtpCommand;
import org.auioc.mcmod.arnicalib.utils.game.EnvironmentUtils;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.tree.CommandNode;
import net.minecraft.commands.CommandSourceStack;
Expand Down

0 comments on commit 2ed0353

Please sign in to comment.