Skip to content

Commit

Permalink
readded previously removed method as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessBullets committed Feb 18, 2024
1 parent 5a024a6 commit 4299eb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bta_version=7.1-pre1a
loader_version=0.14.19-babric.3-bta

# Mod
mod_version=3.4.0
mod_version=3.4.1
mod_group=turniplabs
mod_name=halplibe

4 changes: 4 additions & 0 deletions src/main/java/turniplabs/halplibe/helper/CommandHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ public class CommandHelper {
private static final List<Function<AtomicReference<Minecraft>, Command>> clientCommands = new ArrayList<>();
@ApiStatus.Internal // used in CommandsServerMixin
private static final List<Function<AtomicReference<MinecraftServer>, Command>> serverCommands = new ArrayList<>();
@Deprecated
public static void createCommand(Command command) {
Core.createCommand(command);
}

/**
* Functions to call from the client or server
Expand Down

0 comments on commit 4299eb7

Please sign in to comment.