forget the event (oups)

alexcrea 2024-07-14 13:52:55 +02:00
parent 9619a38836
commit 12b7910421

@ -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 Here is an example of you could create some material group
```java ```java
@EventHandler @EventHandler
public void onConfigReady(){ public void onConfigReady(CAConfigReadyEvent event){
// Create group of zombie drops // Create group of zombie drops
IncludeGroup zombieGroup = new IncludeGroup("zombieDrop"); IncludeGroup zombieGroup = new IncludeGroup("zombieDrop");
zombieGroup.addToPolicy(Material.ROTTEN_FLESH) // Please note "addToPolicy would be "exclude from group" for ExcludeGroup zombieGroup.addToPolicy(Material.ROTTEN_FLESH) // Please note "addToPolicy would be "exclude from group" for ExcludeGroup