修复DynamicFloatingText类的构建问题
This commit is contained in:
+1
-3
@@ -539,9 +539,7 @@ class DynamicFloatingText extends StaticFloatingText {
|
||||
* @param {boolean} [papi=true] 是否使用PAPI变量
|
||||
*/
|
||||
constructor(pos, text, updateRate = 1, papi = true) {
|
||||
this.mPosition = pos;
|
||||
this.mText = text;
|
||||
this.mPlaceholderAPI = papi;
|
||||
super(pos, text, papi);
|
||||
this.mRuntimeId = GMLIB_API.createFloatingText(this.mPosition, this.mText, this.mPlaceholderAPI);
|
||||
this.mUpdateRate = updateRate;
|
||||
this.mTaskId = null;
|
||||
|
||||
Reference in New Issue
Block a user