scarpet LOG

This commit is contained in:
gnembon committed 2021-04-22 22:26:07 -03:00
1 parent 5edbbe3fe2
commit a6f39e2d22
1 file changed
+3
+3
View File
@@ -36,10 +36,13 @@ import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.server.command.ServerCommandSource; import net.minecraft.server.command.ServerCommandSource;
import net.minecraft.server.MinecraftServer; import net.minecraft.server.MinecraftServer;
import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.server.network.ServerPlayerEntity;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class CarpetServer implements ClientModInitializer,DedicatedServerModInitializer // static for now - easier to handle all around the code, its one anyways public class CarpetServer implements ClientModInitializer,DedicatedServerModInitializer // static for now - easier to handle all around the code, its one anyways
{ {
public static final Random rand = new Random(); public static final Random rand = new Random();
public static final Logger LOG = LogManager.getLogger("scarpet");
public static MinecraftServer minecraft_server; public static MinecraftServer minecraft_server;
private static CommandDispatcher<ServerCommandSource> currentCommandDispatcher; private static CommandDispatcher<ServerCommandSource> currentCommandDispatcher;
public static CarpetScriptServer scriptServer; public static CarpetScriptServer scriptServer;