Created FastGetEnchants

This commit is contained in:
Auxilor
2020-12-19 21:19:57 +00:00
parent f258d5a6c7
commit e4e7f860bf
7 changed files with 188 additions and 31 deletions

View File

@@ -0,0 +1,10 @@
package com.willfp.ecoenchants.nms.api;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;
import java.util.Map;
public interface FastGetEnchantsWrapper {
Map<Enchantment, Integer> getEnchantmentsOnItem(ItemStack itemStack);
}