File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- // *
1
+ // *
2
2
// *****************************************************************************
3
3
// *
4
4
// * Copyright (c) 2025 Deskasoft International
@@ -44,6 +44,7 @@ public ScriptEngine()
44
44
{
45
45
_luaState = new Lua ( ) ;
46
46
_luaState . State . Encoding = Encoding . UTF8 ;
47
+
47
48
_luaState . LoadCLRPackage ( ) ;
48
49
_luaState . DoString ( "import ('HashifyNet', 'HashifyNet')" ) ;
49
50
_luaState . DoString ( "import ('HashifyNETCLI', 'HashifyNETCLI')" ) ;
@@ -59,7 +60,6 @@ public ScriptEngine()
59
60
private static void PushLuaHelpers ( Lua state , Type staticType )
60
61
{
61
62
MethodInfo [ ] mis = staticType . GetMethods ( BindingFlags . Public | BindingFlags . Static ) ;
62
-
63
63
if ( mis . Length < 1 )
64
64
{
65
65
Logger . Warning ( $ "No public static method available in '{ staticType . FullName } ' to bind into Lua.") ;
You can’t perform that action at this time.
0 commit comments