File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
common/src/main/kotlin/com/lambda/interaction/request Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ object InteractionManager : RequestHandler<InteractRequest>(
5656 override val blockedPositions
5757 get() = pendingActions.map { it.context.blockPos }
5858
59- init {
59+ override fun load (): String {
60+ super .load()
61+
6062 listen<TickEvent .Post >(priority = Int .MIN_VALUE ) {
6163 activeRequest = null
6264 interactionsThisTick = 0
@@ -68,6 +70,8 @@ object InteractionManager : RequestHandler<InteractRequest>(
6870 it.input.sneaking = false
6971 }
7072 }
73+
74+ return " Loaded Interaction Manager"
7175 }
7276
7377 override fun SafeContext.handleRequest (request : InteractRequest ) {
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ object InventoryManager : RequestHandler<InventoryRequest>(
3737 var activeRequest: InventoryRequest ? = null
3838
3939 override fun load (): String {
40+ super .load()
41+
4042 return " Loaded Inventory Manager"
4143 }
4244
You can’t perform that action at this time.
0 commit comments