mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Make compatibility object with EcoEnchant and Enchant² use the api.
Abstract material group now have varargs "addAll" function.
This commit is contained in:
parent
1bd3328281
commit
bcd8b6ae6e
7 changed files with 100 additions and 79 deletions
|
|
@ -343,4 +343,13 @@ public class ConflictBuilder {
|
|||
return clone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register this conflict.
|
||||
* Equivalent to {@link ConflictAPI#addConflict(ConflictBuilder)}
|
||||
* @return True if successful.
|
||||
*/
|
||||
public boolean registerIfAbsent(){
|
||||
return ConflictAPI.addConflict(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue