You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
🐛 描述(Description)
我在测试本地构建的ShinColle过程中发现,使用mek调试指令发现 当世界时间固定且不更新时,舰船的报时语音【默认开启】在开启状态下,会循环播放
📷 复现步骤(Steps to Reproduce)
1.确认舰船的报时语音为开启状态
2.使用指令/gamerule doDaylightCycle false 禁用世界时间更新
3.使用指令/time set 1999 设置一个会播放 报时语音的的时间段
4.舰船开始每tick报时
📄 [异常/日志]信息([Exception/Log] Information)
无
🚑 基本信息(Basic Information)
🖼 截图(Screenshots)
快速修复
在
if (!this.isMorph && ConfigHandler.timeKeeping && this.getStateFlag(ID.F.TimeKeeper) && this.isEntityAlive())
添加判断 ,如果 doDaylightCycle 是false 则不工作修改后的代码如下
if (!this.isMorph && ConfigHandler.timeKeeping && this.getStateFlag(ID.F.TimeKeeper) && this.isEntityAlive() && this.world.getGameRules().getBoolean("doDaylightCycle"))
The text was updated successfully, but these errors were encountered: