Skip to content

Commit 0315755

Browse files
committed
max priority
1 parent e16ffe1 commit 0315755

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/kotlin/com/lambda/interaction/request/rotating/RotationManager.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,23 +108,23 @@ object RotationManager : RequestHandler<RotationRequest>(
108108
}
109109

110110
// Override user interactions with max priority
111-
listen<PlayerEvent.Interact.Block> {
111+
listen<PlayerEvent.Interact.Block>(priority = Int.MAX_VALUE) {
112112
activeRotation = player.rotation
113113
}
114114

115-
listen<PlayerEvent.Attack.Block> {
115+
listen<PlayerEvent.Attack.Block>(priority = Int.MAX_VALUE) {
116116
activeRotation = player.rotation
117117
}
118118

119-
listen<PlayerEvent.Interact.Entity> {
119+
listen<PlayerEvent.Interact.Entity>(priority = Int.MAX_VALUE) {
120120
activeRotation = player.rotation
121121
}
122122

123-
listen<PlayerEvent.Attack.Entity> {
123+
listen<PlayerEvent.Attack.Entity>(priority = Int.MAX_VALUE) {
124124
activeRotation = player.rotation
125125
}
126126

127-
listen<PlayerEvent.Interact.Item> {
127+
listen<PlayerEvent.Interact.Item>(priority = Int.MAX_VALUE) {
128128
activeRotation = player.rotation
129129
}
130130

0 commit comments

Comments
 (0)