mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
forget the event (oups)
parent
9619a38836
commit
12b7910421
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ Adding a group to another group is not impacted by the type of group. For exampl
|
|||
Here is an example of you could create some material group
|
||||
```java
|
||||
@EventHandler
|
||||
public void onConfigReady(){
|
||||
public void onConfigReady(CAConfigReadyEvent event){
|
||||
// Create group of zombie drops
|
||||
IncludeGroup zombieGroup = new IncludeGroup("zombieDrop");
|
||||
zombieGroup.addToPolicy(Material.ROTTEN_FLESH) // Please note "addToPolicy would be "exclude from group" for ExcludeGroup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue