mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-25 20:25:45 +01:00
Show actual item amount of illegal enchantment exception
This commit is contained in:
parent
1a77ff8092
commit
93792cce23
@ -3221,7 +3221,8 @@ public class Quester implements Comparable<Quester> {
|
||||
temp.addEnchantments(i.getEnchantments());
|
||||
} catch (final Exception e) {
|
||||
plugin.getLogger().warning("Unable to add enchantment(s) " + i.getEnchantments().toString()
|
||||
+ " to delivery item " + i.getType().name() + " x 0 for quest " + quest.getName());
|
||||
+ " to delivery item " + i.getType().name() + " x " + i.getAmount() + " for quest ID "
|
||||
+ quest.getId());
|
||||
}
|
||||
temp.setItemMeta(i.getItemMeta());
|
||||
data.itemsDelivered.add(temp);
|
||||
|
Loading…
Reference in New Issue
Block a user