This commit is contained in:
kookroach
2021-04-04 21:29:34 +02:00
parent 91353bdcf0
commit bce480aad5
4 changed files with 9 additions and 6 deletions

View File

@@ -194,13 +194,12 @@ class RageObject extends RageEntity implements IObject {
public object: ObjectMp;
public __attachmentData: object;
constructor(object: ObjectMp, attachmentData: object) {
constructor(object: ObjectMp) {
if (!object) {
throw "Object is undefined"
}
super(object);
this.object = object;
this.__attachmentData = attachmentData;
}
}