mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 00:38:46 +00:00
Add tests for player actions
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import org.apollo.game.plugin.entity.player_action.PlayerActionEvent
|
||||
import org.apollo.game.plugin.entity.player_action.PlayerActionType
|
||||
import org.apollo.plugin.entity.following.FollowAction
|
||||
|
||||
on_player_event { org.apollo.game.plugin.entity.player_action.PlayerActionEvent::class }
|
||||
on_player_event { PlayerActionEvent::class }
|
||||
.where { action == PlayerActionType.FOLLOW }
|
||||
.then {
|
||||
FollowAction.start(it, target)
|
||||
|
||||
Reference in New Issue
Block a user