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