Fix compile error, remove head command
This commit is contained in:
parent
a989d1fe65
commit
1994dc1a37
3 changed files with 3 additions and 12 deletions
|
@ -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
|
|
@ -12,6 +12,6 @@ public class Commands {
|
|||
public void onCommandsRegister(RegisterCommandsEvent ev)
|
||||
{
|
||||
CreditsCommand.register(ev.getDispatcher());
|
||||
GetHead.register(ev.getDispatcher());
|
||||
//GetHead.register(ev.getDispatcher());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<CommandSourceStack> dispatch)
|
||||
|
|
Reference in a new issue