Skip to content

Commit

Permalink
update and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat committed Jan 3, 2023
1 parent a3675f0 commit 2d7eb9a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
org.gradle.jvmargs=-Xmx2G

# Fabric (https://fabricmc.net/versions.html)
minecraft_version=1.19.2
yarn_version=1.19.2+build.7
minecraft_version=1.19.3
yarn_version=1.19.3+build.5
loader_version=0.14.9

# Mod Properties
mod_version=0.4
mod_version=0.5
maven_group=meteordevelopment.addons
archives_base_name=item-frame-dupe-addon

# Meteor
meteor_version=0.5.1-SNAPSHOT
meteor_version=0.5.2-SNAPSHOT
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package widecat.itemframedupe.addon;

import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.addons.MeteorAddon;
import meteordevelopment.meteorclient.systems.modules.Modules;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import widecat.itemframedupe.addon.modules.ItemFrameDupe;

import java.lang.invoke.MethodHandles;

public class ItemFrameDupeAddon extends MeteorAddon {
public static final Logger LOG = LogManager.getLogger();
Expand All @@ -16,12 +14,11 @@ public class ItemFrameDupeAddon extends MeteorAddon {
public void onInitialize() {
LOG.info("Initializing Item Frame Dupe Addon.");

MeteorClient.EVENT_BUS.registerLambdaFactory("widecat.itemframedupe.addon", (lookupInMethod, klass) -> (MethodHandles.Lookup) lookupInMethod.invoke(null, klass, MethodHandles.lookup()));

Modules.get().add(new ItemFrameDupe());
}

@Override
public String getPackage() {
return "ItemFrameDupe";
return "widecat.itemframedupe.addon";
}
}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"depends": {
"java": ">=17",
"minecraft": ">=1.19.2",
"minecraft": ">=1.19.3",
"meteor-client": "*"
}
}

0 comments on commit 2d7eb9a

Please sign in to comment.