Tweak some messages

This commit is contained in:
Jesse Boyd 2016-12-29 10:20:11 +11:00
parent 8dba2a5620
commit 0c33e84e6b
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -471,29 +471,31 @@ public class Fawe {
debug(" - Using the latest version of WorldEdit/FAWE"); debug(" - Using the latest version of WorldEdit/FAWE");
debug(" - AsyncWorldEdit/WorldEditRegions isn't installed"); debug(" - AsyncWorldEdit/WorldEditRegions isn't installed");
debug(" - Any other errors in the startup log"); debug(" - Any other errors in the startup log");
debug(" - Contact Empire92 for assistance!"); debug("Contact Empire92 if you need assistance:");
debug(" - Send me a PM or ask on IRC");
debug(" - http://webchat.esper.net/?nick=&channels=IntellectualCrafters");
debug("======================================="); debug("=======================================");
} }
try { try {
com.github.luben.zstd.util.Native.load(); com.github.luben.zstd.util.Native.load();
} catch (Throwable e) { } catch (Throwable e) {
Settings.CLIPBOARD.COMPRESSION_LEVEL = Math.min(6, Settings.CLIPBOARD.COMPRESSION_LEVEL); if (Settings.CLIPBOARD.COMPRESSION_LEVEL > 6 || Settings.HISTORY.COMPRESSION_LEVEL > 6) {
Settings.HISTORY.COMPRESSION_LEVEL = Math.min(6, Settings.HISTORY.COMPRESSION_LEVEL); Settings.CLIPBOARD.COMPRESSION_LEVEL = Math.min(6, Settings.CLIPBOARD.COMPRESSION_LEVEL);
debug("====== ZSTD COMPRESSION BINDING NOT FOUND ======"); Settings.HISTORY.COMPRESSION_LEVEL = Math.min(6, Settings.HISTORY.COMPRESSION_LEVEL);
MainUtil.handleError(e, false); debug("====== ZSTD COMPRESSION BINDING NOT FOUND ======");
debug("==============================================="); debug(e);
debug("FAWE will still work, but some things may be slower"); debug("===============================================");
debug(" - Try updating your JVM / OS"); debug("FAWE will work but won't compress data as much");
debug(" - Report this issue if you cannot resolve it"); debug("===============================================");
debug("==============================================="); }
} }
try { try {
net.jpountz.util.Native.load(); net.jpountz.util.Native.load();
} catch (Throwable e) { } catch (Throwable e) {
debug("====== LZ4 COMPRESSION BINDING NOT FOUND ======"); debug("====== LZ4 COMPRESSION BINDING NOT FOUND ======");
MainUtil.handleError(e, false); debug(e);
debug("==============================================="); debug("===============================================");
debug("FAWE will still work, but some things may be slower"); debug("FAWE will work but compression will be slower");
debug(" - Try updating your JVM / OS"); debug(" - Try updating your JVM / OS");
debug(" - Report this issue if you cannot resolve it"); debug(" - Report this issue if you cannot resolve it");
debug("==============================================="); debug("===============================================");