mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 07:03:35 +08:00
Run IntelliJ IDEA code formatter
This commit is contained in:
@@ -10,21 +10,21 @@ public class PacketCodexDataUpdateNotify extends BasePacket {
|
||||
public PacketCodexDataUpdateNotify(GameMainQuest quest) {
|
||||
super(PacketOpcodes.CodexDataUpdateNotify, true);
|
||||
var codexQuest = GameData.getCodexQuestDataIdMap().get(quest.getParentQuestId());
|
||||
if(codexQuest != null){
|
||||
if (codexQuest != null) {
|
||||
CodexDataUpdateNotify proto = CodexDataUpdateNotify.newBuilder()
|
||||
.setTypeValue(1)
|
||||
.setId(codexQuest.getId())
|
||||
.build();
|
||||
.setTypeValue(1)
|
||||
.setId(codexQuest.getId())
|
||||
.build();
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
|
||||
public PacketCodexDataUpdateNotify(int typeValue, int codexId){
|
||||
public PacketCodexDataUpdateNotify(int typeValue, int codexId) {
|
||||
super(PacketOpcodes.CodexDataUpdateNotify, true);
|
||||
CodexDataUpdateNotify proto = CodexDataUpdateNotify.newBuilder()
|
||||
.setTypeValue(typeValue)
|
||||
.setId(codexId)
|
||||
.build();
|
||||
.setTypeValue(typeValue)
|
||||
.setId(codexId)
|
||||
.build();
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user