Removed build artifacts from repo tree. + Hotfix of useEnchantment not ignoring items with no meta on whitelist mode.

This commit is contained in:
天クマ 2025-12-08 13:23:05 -03:00
commit 41af1fc1cf
58 changed files with 7 additions and 221 deletions

View file

@ -16,7 +16,7 @@ public class useEnchantment implements NodeHandler {
public boolean allows(HumanEntity entity, PolicyNode node, Action action) {
ItemStack item = entity.getInventory().getItemInMainHand();
if (item.getItemMeta() == null) {
return true;
return !node.isWhitelist();
}
Map<Enchantment, Integer> enchants = item.getItemMeta().getEnchants();

View file

@ -1,5 +1,5 @@
name: "Eye-of-Nemesis"
version: '1.0-SNAPSHOT'
version: '1.0.1-SNAPSHOT'
main: io.github.adrianvic.nemesiseye.Nemesis
api-version: '1.21'
author: 'Adrian Victor'