From 5265311218df4534cb54291dadc494faca39cde6 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sat, 21 Jan 2023 01:07:52 +0100 Subject: [PATCH] Removed unused methods --- gradle.properties | 2 +- .../vialegacy/api/remapper/LegacyItemRewriter.java | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/gradle.properties b/gradle.properties index 70401e1..6aa0f65 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,4 +6,4 @@ org.gradle.configureondemand=true # Project properties maven_name=ViaLegacy maven_group=net.raphimc -maven_version=2.2.3 +maven_version=2.2.4 diff --git a/src/main/java/net/raphimc/vialegacy/api/remapper/LegacyItemRewriter.java b/src/main/java/net/raphimc/vialegacy/api/remapper/LegacyItemRewriter.java index a7d31ce..26c690d 100644 --- a/src/main/java/net/raphimc/vialegacy/api/remapper/LegacyItemRewriter.java +++ b/src/main/java/net/raphimc/vialegacy/api/remapper/LegacyItemRewriter.java @@ -219,14 +219,6 @@ public abstract class LegacyItemRewriter
extends RewriterBas this.newItemName = newItemName; } - public int getOldItemID() { - return this.oldItemID; - } - - public short getOldItemMeta() { - return this.oldItemMeta; - } - public boolean rewrites(final Item item) { return item.identifier() == this.oldItemID && (this.oldItemMeta == -1 || this.oldItemMeta == item.data()); }