Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-10-04 00:41:13 +02:00
Re-add debug: Apparently, not just application/zip
works....???
Dieser Commit ist enthalten in:
Ursprung
15b8b93d44
Commit
d4f0d8a57a
@ -115,12 +115,12 @@ public class WebUtils {
|
|||||||
|
|
||||||
if (size <= 0) {
|
if (size <= 0) {
|
||||||
GeyserImpl.getInstance().getLogger().error(String.format("Invalid size from remote pack URL: %s (size: %d)", url, size));
|
GeyserImpl.getInstance().getLogger().error(String.format("Invalid size from remote pack URL: %s (size: %d)", url, size));
|
||||||
return null;
|
//return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == null || !type.equals("application/zip")) {
|
if (type == null || !type.equals("application/zip")) {
|
||||||
GeyserImpl.getInstance().getLogger().error(String.format("Invalid application type from remote pack URL: %s (type: %s)", url, type));
|
GeyserImpl.getInstance().getLogger().error(String.format("Invalid application type from remote pack URL: %s (type: %s)", url, type));
|
||||||
return null;
|
//return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
InputStream in = con.getInputStream();
|
InputStream in = con.getInputStream();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren