Added Enchantment.conflictsWith() and EnchantmentTarget.includes(). Addresses BUKKIT-1159 and addresses BUKKIT-1160

This commit is contained in:
Celtic Minstrel
2012-03-12 15:33:19 -04:00
committed by EvilSeph
parent e783a03aa3
commit e8f00c8fd8
4 changed files with 140 additions and 10 deletions

View File

@@ -47,4 +47,9 @@ public class TestEnchantment extends Enchantment {
return true;
}
@Override
public boolean conflictsWith(Enchantment other) {
return false;
}
}