mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-01 04:21:52 +08:00
feat: change game time (#2061)
* feat: change game time * Update proto names
This commit is contained in:
committed by
GitHub
Unverified
parent
a078b5ae28
commit
220c23b960
@@ -11,6 +11,7 @@ public class PacketSceneTimeNotify extends BasePacket {
|
||||
super(PacketOpcodes.SceneTimeNotify);
|
||||
|
||||
SceneTimeNotify proto = SceneTimeNotify.newBuilder()
|
||||
.setIsPaused(player.isPaused())
|
||||
.setSceneId(player.getSceneId())
|
||||
.setSceneTime(player.getScene().getSceneTime())
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user