removed unused kernel events
This commit is contained in:
parent
204e464b1b
commit
05fa6203d1
@ -45,7 +45,6 @@ class KernelEvents {
|
||||
public final onPaste:Signal<String>;
|
||||
public final onPeripheral:Signal<String>;
|
||||
public final onPeripheralDetach:Signal<String>;
|
||||
public final onRednetMessage:Signal<{sender:Int, message:Any, protocol:Any}>;
|
||||
public final onRedstone:Signal<Noise>;
|
||||
public final onSpeakerAudioEmpty:Signal<String>;
|
||||
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":
|
||||
|
Loading…
Reference in New Issue
Block a user