Skip to content
Success

Changes

Summary

  1. NPC matcher-switch (#2544) (commit: 0bc3b4d) (details)
Commit 0bc3b4dc59478fb1434a4cef0028052cffea3298 by noreply
NPC matcher-switch (#2544)

* Add `npc` and `cause` switches to `npc spawns` event

* Change switch name from `cause` to `reason`

* Add support for other events
(commit: 0bc3b4d)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/npc/NPCSpawnScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/npc/NPCStuckScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/npc/NPCNavigationScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/npc/NPCOpensScriptEvent.java (diff)