-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.10.10]修复命令导致StackOverflowError的问题
- Loading branch information
YufiriaMazenta
committed
Sep 13, 2024
1 parent
8282e13
commit 7be769c
Showing
4 changed files
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import java.text.SimpleDateFormat | ||
version = "1.10.9" | ||
version = "1.10.10" | ||
|
||
plugins { | ||
`java-library` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
src/main/java/com/github/yufiriamazenta/craftorithm/cmd/sub/item/fuel/FuelCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
package com.github.yufiriamazenta.craftorithm.cmd.sub.item.fuel; | ||
|
||
import com.github.yufiriamazenta.craftorithm.cmd.sub.AbstractSubCommand; | ||
import crypticlib.command.SubcommandHandler; | ||
import crypticlib.command.annotation.Subcommand; | ||
|
||
public class FuelCommand extends AbstractSubCommand { | ||
|
||
public static final FuelCommand INSTANCE = new FuelCommand(); | ||
|
||
protected FuelCommand() { | ||
super("fuel", "craftorithm.command.item.fuel"); | ||
regSub(AddFuelCommand.INSTANCE).regSub(RemoveFuelCommand.INSTANCE); | ||
} | ||
|
||
@Subcommand | ||
SubcommandHandler add = AddFuelCommand.INSTANCE; | ||
|
||
@Subcommand | ||
SubcommandHandler remove = RemoveFuelCommand.INSTANCE; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters