aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorAikar <[email protected]>2020-06-28 21:27:16 -0400
committerAikar <[email protected]>2020-06-28 21:27:27 -0400
commitfb772923d5bbc6c53d18370f5bcd4083567f6035 (patch)
treeb71e8546808e70f058bd0fa60f693eac4781fa93 /scripts
parent8806d0a89ae2b68618c7f2f0c55e3233e66e6ca0 (diff)
downloadPaper-fb772923d5bbc6c53d18370f5bcd4083567f6035.tar.gz
Paper-fb772923d5bbc6c53d18370f5bcd4083567f6035.zip
Improve Legacy Component serialization size
Don't constantly send format: false for all formatting options when parent already has it false Fixes #3680
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/testServer.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/testServer.sh b/scripts/testServer.sh
index 1ce78a3328..834e4a9178 100755
--- a/scripts/testServer.sh
+++ b/scripts/testServer.sh
@@ -87,7 +87,9 @@ fi
# JVM FLAGS
#
-cp "$jar" paper.jar
+if [ -f "$jar" ]; then
+ cp "$jar" paper.jar
+fi
baseargs="-server -Xms${PAPER_MIN_TEST_MEMORY:-512M} -Xmx${PAPER_TEST_MEMORY:-2G} -Dfile.encoding=UTF-8 -XX:MaxGCPauseMillis=150 -XX:+UseG1GC "
baseargs="$baseargs -DIReallyKnowWhatIAmDoingISwear=1 "
baseargs="$baseargs -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=60 "