From bf80b391dfe19b8b4c55562852b5e3ca481bae3d Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Thu, 18 Apr 2024 23:09:58 +0200 Subject: [PATCH] fixed return of getMethods --- src/cc/Peripheral.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cc/Peripheral.hx b/src/cc/Peripheral.hx index 31d6e19..16afc16 100644 --- a/src/cc/Peripheral.hx +++ b/src/cc/Peripheral.hx @@ -2,13 +2,12 @@ package cc; import lua.TableTools; import lua.Table; -import haxe.Constraints; import haxe.extern.Rest; @:native("peripheral") extern class Peripheral { public static function isPresent(name:String):Bool; - public static function getMethods(name:String):Table; + public static function getMethods(name:String):Table; public static function call(name:String, method:String, args:Rest):T; public static function wrap(name:String):T; public static function find(type:String, ?filter:(String, T) -> Bool):Table;