Fix whitespace [skip actions]

This commit is contained in:
github-actions
2022-10-18 14:56:26 +00:00
parent 026ef9c51b
commit 96da4b6117
6 changed files with 82 additions and 82 deletions

View File

@@ -155,7 +155,7 @@ public final class RegionHandler implements Router {
String key_id = ctx.queryParam("key_id");
if(key_id == null)
if (key_id == null)
throw new Exception("Key ID was not set");
Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");

View File

@@ -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);
}
}

View File

@@ -12,7 +12,7 @@ public class PacketForgeStartRsp extends BasePacket {
ForgeStartRsp proto = ForgeStartRsp.newBuilder()
.setRetcode(retcode.getNumber())
.build();
.build();
this.setData(proto);
}