fixed advancedEnchants compatibility 2

This commit is contained in:
Indyuce 2021-08-25 10:55:00 +02:00
parent 95e7496f7d
commit c07fc26eca

View File

@ -166,6 +166,6 @@ public class AdvancedEnchantsStat extends ItemStat implements InternalStat {
}
// Thats it
return enchants;
return enchants.enchants.size() == 0 ? null : enchants;
}
}