Skip to content
Failed

Changes

Summary

  1. Implements the PrePlayerAttackEntityEvent (#2473) (commit: a0b06e6) (details)
Commit a0b06e6d2523067891d8813041ae93b4cacc267c by noreply
Implements the PrePlayerAttackEntityEvent (#2473)

* PrePlayerAttackEntityEvent

Implements the PrePlayerAttackEntityEvent, which fires when the player tries to attack an entity.

* Updated both files

* REMOVES THE STRAY NEW LINE

* Update PrePlayerAttackEntityScriptEvent.java

Removed useless import, updated event line & updated matcher accordingly,  moved context for tags into triggers, and fixed formatting issue.

* Update PrePlayerAttackEntityScriptEvent.java

* Modified event line

* Modified player link meta
(commit: a0b06e6)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)
The file was addedpaper/src/main/java/com/denizenscript/denizen/paper/events/PrePlayerAttackEntityScriptEvent.java