From d7dd256c7b23cb21613fa6de690d79c309f1b072 Mon Sep 17 00:00:00 2001 From: glowredman <35727266+glowredman@users.noreply.github.com> Date: Sat, 14 Oct 2023 15:23:37 +0200 Subject: Small cleanup (#100) * Use llamalad's `@ModifyReturnValue` * Prefix mixin methods with "kubatech$" * Address some warnings * Remove dead code --- src/main/java/kubatech/loaders/item/ItemProxy.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/java/kubatech/loaders/item') diff --git a/src/main/java/kubatech/loaders/item/ItemProxy.java b/src/main/java/kubatech/loaders/item/ItemProxy.java index a8d7124a65..4e37175cd7 100644 --- a/src/main/java/kubatech/loaders/item/ItemProxy.java +++ b/src/main/java/kubatech/loaders/item/ItemProxy.java @@ -66,16 +66,13 @@ public class ItemProxy { private final String unlocalizedName; private final String texturepath; private IIcon icon; - private int itemID; public ItemProxy(String unlocalizedName, String texture) { this.unlocalizedName = "kubaitem." + unlocalizedName; texturepath = Tags.MODID + ":" + texture; } - public void ItemInit(int index) { - itemID = index; - } + public void ItemInit(int index) {} public String getUnlocalizedName() { return unlocalizedName; -- cgit