From eca52455c3d8a520aba30b81d17031340b76ff88 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 15 May 2024 04:58:55 -0400 Subject: [PATCH] Bug Fix --- src/struct.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/struct.ts b/src/struct.ts index a9f09eb..6a7081b 100644 --- a/src/struct.ts +++ b/src/struct.ts @@ -163,7 +163,7 @@ export class Struct { const shortName = method.shortName; const fullName = method.getName(); const args = getArgsOuter(method); - out += `${INDENT}inline ${formatType(returnType)}${shortName}${args} { \\\n`; + out += `${INDENT}${method.isStatic ? 'static ' : ''}inline ${formatType(returnType)}${shortName}${args} { \\\n`; out += `${INDENT}${INDENT}${returnType.trim() === 'void' ? '' : 'return '}${fullName}(${getArgsInner(method)});\n`; out += `${INDENT}}\n`; }