From 5d2ab05fc9b53e3c6cf89368c890ab124df51a4f Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Thu, 29 Jan 2026 20:46:54 +0100 Subject: [PATCH] (IMPORTANT) added new define for abstracthandler --- hscript/macros/AbstractHandler.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hscript/macros/AbstractHandler.hx b/hscript/macros/AbstractHandler.hx index 58d3d05..6b97832 100644 --- a/hscript/macros/AbstractHandler.hx +++ b/hscript/macros/AbstractHandler.hx @@ -12,12 +12,14 @@ using StringTools; class AbstractHandler { public static function init() { + #if HSCRIPT_ABSTRACT_SUPPORT #if !display if(Context.defined("display")) return; for(apply in Config.ALLOWED_ABSTRACT_AND_ENUM) { Compiler.addGlobalMetadata(apply, '@:build(hscript.macros.AbstractHandler.build())'); } #end + #end } public static function build():Array {