Update legacy ItemStack process debug message

This commit is contained in:
PikaMug 2020-02-13 23:37:28 -05:00
parent f3cb079d12
commit 934683dee3

View File

@ -172,8 +172,8 @@ public class ItemUtil {
return new ItemStack(Material.getMaterial(material.toUpperCase()), amount, durability); return new ItemStack(Material.getMaterial(material.toUpperCase()), amount, durability);
} catch (Exception e) { } catch (Exception e) {
try { try {
Bukkit.getLogger().warning(material Bukkit.getLogger().warning(material + " x " + amount
+ " is invalid! You may need to update your quests.yml or events.yml " + " is invalid! You may need to update your quests.yml or actions.yml "
+ "in accordance with https://bit.ly/2BkBNNN"); + "in accordance with https://bit.ly/2BkBNNN");
return new ItemStack(Material.matchMaterial(material, true), amount, durability); return new ItemStack(Material.matchMaterial(material, true), amount, durability);
} catch (Exception e2) { } catch (Exception e2) {