Skip to content

Commit

Permalink
11.0.0.0: Update API README
Browse files Browse the repository at this point in the history
  • Loading branch information
SirBlobman committed May 27, 2021
1 parent d6c168a commit dd055e6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions api/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ A lot of developers use maven to build projects more easily.

## Events
A list of events and their uses can be found in the `com.github.sirblobman.combatlogx.api.event` package.
You can see more information about them below:

- **PlayerCombatTimerChangeEvent:** Triggered every tick while a player is in combat (useful for updating timers)
You can see more information about them below:
- **PlayerPreTagEvent:** Triggered before a player gets tagged. (cancellable)
- **PlayerTagEvent:** Triggered when a player gets tagged into combat (not cancellable).
- **PlayerReTagEvent:** Triggered when a player already has a timer, but they are tagged again. (cancellable)
Expand All @@ -52,4 +50,4 @@ public boolean isInCombat(Player player) {
ICombatManager combatManager = plugin.getCombatManager();
return combatManager.isInCombat(player);
}
```
```

0 comments on commit dd055e6

Please sign in to comment.