diff --git a/.github/workflows/fabric.yml b/.github/workflows/fabric.yml index 60bf98df..154469ca 100644 --- a/.github/workflows/fabric.yml +++ b/.github/workflows/fabric.yml @@ -5,7 +5,7 @@ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle -name: Java CI with Gradle +name: Fabric Action on: push: diff --git a/fabric/src/main/java/cn/evole/mods/mcbot/command/ReceiveCommand.java b/fabric/src/main/java/cn/evole/mods/mcbot/command/ReceiveCommand.java index f2ead91a..9e824621 100644 --- a/fabric/src/main/java/cn/evole/mods/mcbot/command/ReceiveCommand.java +++ b/fabric/src/main/java/cn/evole/mods/mcbot/command/ReceiveCommand.java @@ -3,7 +3,6 @@ import cn.evole.mods.mcbot.init.config.ModConfig; import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.exceptions.CommandSyntaxException; -import net.minecraft.network.chat.Component; import net.minecraft.commands.CommandSourceStack; //#if MC >= 11900 import net.minecraft.network.chat.Component;