LiteLDev / LegacyScriptEngine

A plugin engine for running LLSE plugins on LeviLamina
https://lse.liteldev.com/
GNU General Public License v3.0
43 stars 8 forks source link

[Bug]: 【Player API】.setTitle 遇到添加副标题[subtitle] 自动回到原版默认的淡入、持续和淡出时间 #106

Closed superwfox closed 4 months ago

superwfox commented 4 months ago

Describe the bug

【Player API】.setTitle 遇到添加副标题[subtitle]自动回到原版默认的淡入、持续和淡出时间

To Reproduce

`//这边为玩家设置一个主标题【title】 pl.setTitle('§空', 2, 0, 12000, 0) //持续12000tick

//再添加一个副标题【subtitlt】 player.setTitle(${s_title_up}, 3, 0, 12000, 0)//持续12000tick

//最后整个标题只停留70tick `

Expected behavior

应该和 主标题 持续时间 保持一致

Screenshots

image

Platform

windows 10

BDS Version

1.20.72

LeviLamina Version

LeviLamina-0.10.2+c5acae6cb

LegacyScriptEngine Version

No response

Additional context

No response

ShrBox commented 4 months ago

一般不是先subtitle再title吗 当我没说

ShrBox commented 4 months ago

无法复现 我使用的是LSE 0.6.2

superwfox commented 4 months ago

我是0.5.2升级一下