Added some features :D, Codex limits are burned out by GPT 6 Astra D:
This commit is contained in:
@@ -53,7 +53,7 @@ public final class UploadClient {
|
||||
if(cached.has("hash")&&cached.get("hash").getAsString().equals(originalHash))manifest=cached.getAsJsonObject("manifest");
|
||||
else {
|
||||
JsonObject capacity=api("/contributions/"+targetMap,null),bounds=capacity.getAsJsonObject("bounds");
|
||||
int room=Math.min(12,Math.min(capacity.get("remaining").getAsInt(),capacity.get("playerRemaining").getAsInt()));
|
||||
int room=Math.min(capacity.get("remaining").getAsInt(),capacity.get("playerRemaining").getAsInt());
|
||||
if(room<1)throw new IOException("This map or your player contribution limit is full. Wait for pending uploads to be reviewed or withdrawn.");
|
||||
manifest.addProperty("contributionTo",targetMap);
|
||||
// Export positions are already random. Keep a stable subset for resumable retries.
|
||||
|
||||
Reference in New Issue
Block a user