mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-22 03:45:10 +01:00
Fix whitespace [skip actions]
This commit is contained in:
@@ -6,17 +6,17 @@ import emu.grasscutter.net.proto.DestroyMaterialRspOuterClass.DestroyMaterialRsp
|
||||
import it.unimi.dsi.fastutil.ints.Int2IntMap;
|
||||
|
||||
public class PacketDestroyMaterialRsp extends BasePacket {
|
||||
|
||||
public PacketDestroyMaterialRsp(Int2IntMap returnMaterialMap) {
|
||||
super(PacketOpcodes.DestroyMaterialRsp);
|
||||
|
||||
|
||||
public PacketDestroyMaterialRsp(Int2IntMap returnMaterialMap) {
|
||||
super(PacketOpcodes.DestroyMaterialRsp);
|
||||
|
||||
var proto = DestroyMaterialRsp.newBuilder();
|
||||
|
||||
|
||||
returnMaterialMap.forEach((id, count) -> {
|
||||
proto.addItemIdList(id);
|
||||
proto.addItemCountList(count);
|
||||
});
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public class PacketForgeStartRsp extends BasePacket {
|
||||
|
||||
ForgeStartRsp proto = ForgeStartRsp.newBuilder()
|
||||
.setRetcode(retcode.getNumber())
|
||||
.build();
|
||||
.build();
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user