mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-21 03:15:59 +01:00
Format code [skip actions]
This commit is contained in:
@@ -37,15 +37,11 @@ public class HandlerEnterSceneDoneReq extends PacketHandler {
|
||||
player.getScene().loadNpcForPlayerEnter(player);
|
||||
|
||||
// notify client to load the npc for quest
|
||||
var questGroupSuites =
|
||||
player.getQuestManager().getSceneGroupSuite(player.getSceneId());
|
||||
var questGroupSuites = player.getQuestManager().getSceneGroupSuite(player.getSceneId());
|
||||
|
||||
player.getScene().loadGroupForQuest(questGroupSuites);
|
||||
Grasscutter.getLogger()
|
||||
.trace(
|
||||
"Loaded Scene {} Quest(s) Groupsuite(s): {}",
|
||||
player.getSceneId(),
|
||||
questGroupSuites);
|
||||
.trace("Loaded Scene {} Quest(s) Groupsuite(s): {}", player.getSceneId(), questGroupSuites);
|
||||
session.send(new PacketGroupSuiteNotify(questGroupSuites));
|
||||
|
||||
// Reset timer for sending player locations
|
||||
|
||||
@@ -21,9 +21,9 @@ public final class PacketServerGlobalValueChangeNotify extends BasePacket {
|
||||
super(PacketOpcodes.ServerGlobalValueChangeNotify);
|
||||
|
||||
this.setData(
|
||||
ServerGlobalValueChangeNotify.newBuilder()
|
||||
.setEntityId(entityId)
|
||||
.setValue(value)
|
||||
.setKeyHash(Utils.abilityHash(abilityHash)));
|
||||
ServerGlobalValueChangeNotify.newBuilder()
|
||||
.setEntityId(entityId)
|
||||
.setValue(value)
|
||||
.setKeyHash(Utils.abilityHash(abilityHash)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user