Removed unused methods

This commit is contained in:
RaphiMC 2023-01-21 01:07:52 +01:00
parent 7fe64745b6
commit 5265311218
2 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -219,14 +219,6 @@ public abstract class LegacyItemRewriter<P extends Protocol> 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());
}