From b6564abfd59bdf9cd9e417fc8f743221d00f0797 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sat, 24 Dec 2022 00:25:34 +0100 Subject: [PATCH] shut up --- Project.xml | 2 +- buildnumber.txt | 2 +- source/funkin/macros/StdDeprecationsRemover.hx | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Project.xml b/Project.xml index 1976d3a6..207c87ea 100644 --- a/Project.xml +++ b/Project.xml @@ -125,6 +125,7 @@ + @@ -150,7 +151,6 @@
-
diff --git a/buildnumber.txt b/buildnumber.txt index a78eeee4..cfc3b26d 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1730 \ No newline at end of file +1731 \ No newline at end of file diff --git a/source/funkin/macros/StdDeprecationsRemover.hx b/source/funkin/macros/StdDeprecationsRemover.hx index 55694fbf..60107150 100644 --- a/source/funkin/macros/StdDeprecationsRemover.hx +++ b/source/funkin/macros/StdDeprecationsRemover.hx @@ -8,12 +8,14 @@ import haxe.macro.Compiler; /** * Removes all deprecations errors related to `Std.is` * Written by Yoshman29 to keep you sane. - * Feel free to use this macro on your mod without forgetting this line in Project.xml: + * Feel free to use this macro on your mod. + * + * Line to add in project.xml: * `` */ class StdDeprecationsRemover { public static function init() { - Compiler.addGlobalMetadata('Std', '@:build(hscript.UsingHandler.build())'); + Compiler.addGlobalMetadata('Std', '@:build(funkin.macros.StdDeprecationsRemover.build())'); } public static function build():Array {