mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2024-12-22 16:38:16 +01:00
Removed unused methods
This commit is contained in:
parent
7fe64745b6
commit
5265311218
@ -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
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user