From 4890f8b73f1df8831dd82fc2655c4ce0d72c8969 Mon Sep 17 00:00:00 2001 From: Izaya Date: Sun, 1 Apr 2018 17:05:35 +1000 Subject: [PATCH] fixed the arguments for the net_send signal --- Embedded/init-wrapper.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Embedded/init-wrapper.lua b/Embedded/init-wrapper.lua index 9fd943c..8e55f3a 100644 --- a/Embedded/init-wrapper.lua +++ b/Embedded/init-wrapper.lua @@ -1,8 +1,8 @@ local c = "" do -function net.hook.sender(et,packetID,packetType,to,vport,data) +function net.hook.sender(to,vport,data,packetType,packetID) if et == "net_send" then - net.send(packetID,packetType,to,vport,data) + net.send(to,vport,data,packetType,packetID) end end local fs = component.proxy(computer.getBootAddress())