Skip to content

Commit

Permalink
Update to 1.19.4 & fix commands code (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCarlos26 authored May 1, 2023
1 parent 519431a commit 66cda24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
org.gradle.jvmargs=-Xmx2G

# Fabric Properties (https://fabricmc.net/versions.html)
# Fabric Properties (https://fabricmc.net/develop)
minecraft_version=1.19.4
yarn_mappings=1.19.4+build.1
yarn_mappings=1.19.4+build.2
loader_version=0.14.19

# Mod Properties
Expand All @@ -12,5 +12,5 @@ archives_base_name=addon-template

# Dependencies

# Meteor (https://maven.meteordev.org/)
# Meteor (https://maven.meteordev.org)
meteor_version=0.5.3-SNAPSHOT
4 changes: 2 additions & 2 deletions src/main/java/com/example/addon/Addon.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.example.addon.modules.ModuleExample;
import com.mojang.logging.LogUtils;
import meteordevelopment.meteorclient.addons.MeteorAddon;
import meteordevelopment.meteorclient.systems.commands.Commands;
import meteordevelopment.meteorclient.commands.Commands;
import meteordevelopment.meteorclient.systems.hud.Hud;
import meteordevelopment.meteorclient.systems.hud.HudGroup;
import meteordevelopment.meteorclient.systems.modules.Category;
Expand All @@ -25,7 +25,7 @@ public void onInitialize() {
Modules.get().add(new ModuleExample());

// Commands
Commands.get().add(new CommandExample());
Commands.add(new CommandExample());

// HUD
Hud.get().register(HudExample.INFO);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.example.addon.commands;

import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import meteordevelopment.meteorclient.systems.commands.Command;
import meteordevelopment.meteorclient.commands.Command;
import net.minecraft.command.CommandSource;

import static com.mojang.brigadier.Command.SINGLE_SUCCESS;
Expand Down

0 comments on commit 66cda24

Please sign in to comment.