From 492005d00a46204a72e03e0106538832cda091b1 Mon Sep 17 00:00:00 2001 From: md678685 Date: Sat, 15 Dec 2018 19:11:41 +0000 Subject: [PATCH] Fix LegacyItemID method override --- Essentials/src/com/earth2me/essentials/items/LegacyItemDb.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/items/LegacyItemDb.java b/Essentials/src/com/earth2me/essentials/items/LegacyItemDb.java index 2a4e391a1..4926b6175 100644 --- a/Essentials/src/com/earth2me/essentials/items/LegacyItemDb.java +++ b/Essentials/src/com/earth2me/essentials/items/LegacyItemDb.java @@ -226,7 +226,7 @@ public class LegacyItemDb extends AbstractItemDb { } @Override - public Material getFromLegacy(int id, short damage) { + public Material getFromLegacy(final int id, final byte damage) { ItemData data = this.legacyIds.get(id); if (data == null) { return null;