From 94d6696f02bfeb15a60e859bef6fe1f92b5231c4 Mon Sep 17 00:00:00 2001 From: Madpwnhammer Date: Thu, 8 Dec 2022 14:14:51 +0300 Subject: [PATCH] Fix s --- src/codegen.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/codegen.inc.php b/src/codegen.inc.php index 601eef9..8268421 100644 --- a/src/codegen.inc.php +++ b/src/codegen.inc.php @@ -228,13 +228,13 @@ function obscure_type($type_str, $fld) if($fld->hasToken('obscured')) { if($fld->getType() instanceof \mtgBuiltinType && $fld->getType()->isUint32()) - return "CodeStage.AntiCheat.ObscuredType.ObscuredUInt"; + return "CodeStage.AntiCheat.ObscuredTypes.ObscuredUInt"; else if($fld->getType() instanceof \mtgBuiltinType && $fld->getType()->isUint64()) - return "CodeStage.AntiCheat.ObscuredType.ObscuredULong"; + return "CodeStage.AntiCheat.ObscuredTypes.ObscuredULong"; else if($fld->getType() instanceof \mtgBuiltinType && $fld->getType()->isInt64()) - return "CodeStage.AntiCheat.ObscuredType.ObscuredLong"; + return "CodeStage.AntiCheat.ObscuredTypes.ObscuredLong"; else if($fld->getType() instanceof \mtgBuiltinType && $fld->getType()->isFloat()) - return "CodeStage.AntiCheat.ObscuredType.ObscuredFloat"; + return "CodeStage.AntiCheat.ObscuredTypes.ObscuredFloat"; else throw new Exception("Not supported obscured type: " . $fld->getType()); }