mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-02 11:11:58 +01:00
Fix LegacyItemID method override
This commit is contained in:
parent
149d9b61cc
commit
492005d00a
@ -226,7 +226,7 @@ public class LegacyItemDb extends AbstractItemDb {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Material getFromLegacy(int id, short damage) {
|
public Material getFromLegacy(final int id, final byte damage) {
|
||||||
ItemData data = this.legacyIds.get(id);
|
ItemData data = this.legacyIds.get(id);
|
||||||
if (data == null) {
|
if (data == null) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user