File tree Expand file tree Collapse file tree 3 files changed +0
-24
lines changed
src/main/kotlin/com/lambda/interaction/request Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -159,14 +159,6 @@ object BreakManager : RequestHandler<BreakRequest>(
159159 field = value
160160 }
161161
162- fun Any.onBreak (
163- alwaysListen : Boolean = false,
164- priority : Int = 0,
165- block : SafeContext .() -> Unit
166- ) = this .listen<UpdateManagerEvent .Break >(priority, alwaysListen) {
167- block()
168- }
169-
170162 override fun load (): String {
171163 super .load()
172164
Original file line number Diff line number Diff line change @@ -83,14 +83,6 @@ object PlaceManager : RequestHandler<PlaceRequest>(
8383 override val blockedPositions
8484 get() = pendingActions.map { it.context.blockPos }
8585
86- fun Any.onPlace (
87- alwaysListen : Boolean = false,
88- priority : Int = 0,
89- block : SafeContext .() -> Unit
90- ) = this .listen<UpdateManagerEvent .Place >(priority, alwaysListen) {
91- block()
92- }
93-
9486 override fun load (): String {
9587 super .load()
9688
Original file line number Diff line number Diff line change @@ -61,14 +61,6 @@ object RotationManager : RequestHandler<RotationRequest>(
6161 var activeRequest: RotationRequest ? = null
6262 private var changedThisTick = false
6363
64- fun Any.onRotate (
65- alwaysListen : Boolean = false,
66- priority : Int = 0,
67- block : SafeContext .() -> Unit
68- ) = this .listen<UpdateManagerEvent .Rotation >(priority, alwaysListen) {
69- block()
70- }
71-
7264 override fun load (): String {
7365 super .load()
7466
You can’t perform that action at this time.
0 commit comments