Fixing factory codegen
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
24bd6fd6f9
commit
f86576293e
|
@ -33,10 +33,8 @@ static public class AutogenBundle
|
|||
{
|
||||
switch(class_id)
|
||||
{
|
||||
{%- for u in meta.getunits ~%}
|
||||
{%- if u.object is instanceof('\\mtgMetaStruct')~%}
|
||||
case {{u.object.classid}}: { return typeof({{u.object.name}}); }
|
||||
{%- endif ~%}
|
||||
{%- for t in meta.factorytypes ~%}
|
||||
case {{t.classid}}: { return typeof({{t.fullname}}); }
|
||||
{%- endfor ~%}
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue