diff --git a/src/kernel/KernelEvents.hx b/src/kernel/KernelEvents.hx index 9060a78..5a6869d 100644 --- a/src/kernel/KernelEvents.hx +++ b/src/kernel/KernelEvents.hx @@ -45,7 +45,6 @@ class KernelEvents { public final onPaste:Signal; public final onPeripheral:Signal; public final onPeripheralDetach:Signal; - public final onRednetMessage:Signal<{sender:Int, message:Any, protocol:Any}>; public final onRedstone:Signal; public final onSpeakerAudioEmpty:Signal; public final onTaskComplete:Signal<{id:Int, success:Bool, failedReason:String}>; @@ -117,7 +116,6 @@ class KernelEvents { this.onPaste = onPasteTrigger.asSignal(); this.onPeripheral = onPeripheralTrigger.asSignal(); this.onPeripheralDetach = onPeripheralDetachTrigger.asSignal(); - this.onRednetMessage = onRednetMessageTrigger.asSignal(); this.onRedstone = onRedstoneTrigger.asSignal(); this.onSpeakerAudioEmpty = onSpeakerAudioEmptyTrigger.asSignal(); this.onTaskComplete = onTaskCompleteTrigger.asSignal(); @@ -194,8 +192,6 @@ class KernelEvents { this.onPeripheralTrigger.trigger(event[2]); case "peripheral_detach": this.onPeripheralDetachTrigger.trigger(event[2]); - case "rednet_message": - this.onRednetMessageTrigger.trigger({sender: event[2], message: event[3], protocol: event[4]}); case "redstone": this.onRedstoneTrigger.trigger(null); case "speaker_audio_empty":