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

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
Bukkit/Spigot
2012-03-12 15:33:19 -04:00
parent 3bfc8591ab
commit 2cfe0f658a
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;
}
}