fix: fix FloatingText

This commit is contained in:
Tsubasa6848
2024-04-15 17:26:42 +08:00
Unverified
parent 620ba0a464
commit 76086c8fcf
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -105,10 +105,6 @@ class StaticFloatingText {
this.mPlaceholderAPI = papi;
this.mRuntimeId = GMLIB_API.createFloatingText(this.mPosition, this.mText, this.mPlaceholderAPI);
FloatingTextList.push(this);
this.sendToClients();
mc.listen("onJoin", (pl) => {
this.sendToClient(pl);
});
}
sendToClient(player) {