Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samolego committed Mar 2, 2021
1 parent 2e4013f commit 181f3d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/samo_lego/fabrictailor/FabricTailor.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.server.MinecraftServer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.samo_lego.fabrictailor.command.SkinCommand;
import org.samo_lego.fabrictailor.command.TaterzenSkinCommand;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
Expand All @@ -24,8 +22,6 @@ public class FabricTailor implements ModInitializer {
public void onInitialize() {
// Registering /skin command
CommandRegistrationCallback.EVENT.register(SkinCommand::register);
if(FabricLoader.getInstance().isModLoaded("taterzens"))
CommandRegistrationCallback.EVENT.register(TaterzenSkinCommand::register);

// Stop server event
ServerLifecycleEvents.SERVER_STOPPED.register(this::onStopServer);
Expand Down

0 comments on commit 181f3d8

Please sign in to comment.