From 758c0633c8709f11e0ad8f876ddf55baffae024d Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Mon, 21 Feb 2022 18:03:33 +0100 Subject: [PATCH] luaDotMethod on modem --- src/cc/periphs/Modem.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/periphs/Modem.hx b/src/cc/periphs/Modem.hx index 7d20693..0c93410 100644 --- a/src/cc/periphs/Modem.hx +++ b/src/cc/periphs/Modem.hx @@ -2,7 +2,7 @@ package cc.periphs; import lua.Table; -extern class Modem { +@:luaDotMethod extern class Modem { public function open(channel:Int):Void; // Open a channel on a modem. public function isOpen(channel:Int):Bool; // Check if a channel is open. public function close(channel:Int):Void; // Close an open channel, meaning it will no longer receive messages.