From 1994dc1a379287c91383ff5e061c9404c394b588 Mon Sep 17 00:00:00 2001 From: Aria Date: Thu, 2 Mar 2023 17:59:58 -0700 Subject: [PATCH] Fix compile error, remove head command --- gradle.properties | 2 +- .../dev/zontreck/libzontreck/commands/Commands.java | 2 +- .../zontreck/libzontreck/commands/CreditsCommand.java | 11 +---------- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/gradle.properties b/gradle.properties index 7d667e0..a34d37f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,5 +5,5 @@ org.gradle.daemon=false mc_version=1.18.2 forge_version=40.2.1 -myversion=1.0.5.0302231748 +myversion=1.0.5.0302231758 parchment_version=2022.11.06 \ No newline at end of file diff --git a/src/main/java/dev/zontreck/libzontreck/commands/Commands.java b/src/main/java/dev/zontreck/libzontreck/commands/Commands.java index 9ce7713..eccd82b 100644 --- a/src/main/java/dev/zontreck/libzontreck/commands/Commands.java +++ b/src/main/java/dev/zontreck/libzontreck/commands/Commands.java @@ -12,6 +12,6 @@ public class Commands { public void onCommandsRegister(RegisterCommandsEvent ev) { CreditsCommand.register(ev.getDispatcher()); - GetHead.register(ev.getDispatcher()); + //GetHead.register(ev.getDispatcher()); } } diff --git a/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java b/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java index d8e5468..1d9477b 100644 --- a/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java +++ b/src/main/java/dev/zontreck/libzontreck/commands/CreditsCommand.java @@ -1,20 +1,11 @@ package dev.zontreck.libzontreck.commands; -import java.util.ArrayList; -import java.util.List; - import com.mojang.brigadier.CommandDispatcher; -import dev.zontreck.libzontreck.dynamicchest.ChestGuiContainer; -import dev.zontreck.libzontreck.util.heads.CreditsEntry; -import dev.zontreck.libzontreck.util.heads.HeadCache; -import dev.zontreck.libzontreck.util.heads.HeadUtilities; + import net.minecraft.commands.CommandSourceStack; import net.minecraft.commands.Commands; -import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.player.Player; -import net.minecraft.world.item.ItemStack; -import net.minecraft.world.item.PlayerHeadItem; public class CreditsCommand { public static void register(CommandDispatcher dispatch)