mirror of
https://github.com/runelite/plugin-hub.git
synced 2026-03-24 17:43:22 -04:00
package: fix source size limit message
This commit is contained in:
@@ -632,7 +632,7 @@ public class Plugin implements Closeable
|
||||
long srcSizeLimitMiB = Math.max(MAX_SRC_SIZE_MIB, jarSizeLimitMiB);
|
||||
if (size > (srcSizeLimitMiB + 1) * MIB) // allow the header to be a bit bigger
|
||||
{
|
||||
throw PluginBuildException.of(this, "the source archive is {}MiB, which is above our limit of MiB", srcSizeLimitMiB);
|
||||
throw PluginBuildException.of(this, "the source archive is {}MiB, which is above our limit of {}MiB", size / MIB, srcSizeLimitMiB);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user