mirror of
https://github.com/itsRevela/MinecraftConsoles.git
synced 2026-07-18 02:00:38 +00:00
fix disenchant bugs from setdurability etc
This commit is contained in:
@@ -154,7 +154,7 @@ public class ItemMeta
|
||||
/// <param name="enchants">The enchantments to set.</param>
|
||||
public void setEnchants(Dictionary<EnchantmentType, int>? enchants)
|
||||
{
|
||||
enchants = enchants != null ? new Dictionary<EnchantmentType, int>(enchants) : null;
|
||||
_enchants = enchants != null ? new Dictionary<EnchantmentType, int>(enchants) : null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user