Closed jesse-zlata closed 10 years ago
ModelCitizen should be fine if there is no constructor defined, could you post the stack trace and I will take a look?
Here is the sample callback for constructor (at the bottom): https://github.com/mguymon/model-citizen/blob/master/core/src/test/java/com/tobedevoured/modelcitizen/blueprint/CarBlueprint.java
Here is the correct link to the sample constructor callback - https://github.com/mguymon/model-citizen/blob/master/core/src/test/java/com/tobedevoured/modelcitizen/blueprint/SpareTireBlueprint.java
Thanks for the super fast reply. I used your the linked example and it corrected the error.
Currently is there is no default constructor the following error is thrown:
com.tobedevoured.modelcitizen.template.BlueprintTemplateException: java.lang.NoSuchMethodException: No such accessible constructor on object
I see the constructor callback but there is no documentation around its use.
Thanks