From 1abf44779073374439309773828932a743980f20 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 27 Apr 2020 18:48:06 +1200 Subject: [PATCH] Add more info and a better regex matching for jenkins releases --- .../me/libraryaddict/disguise/utilities/updates/LDJenkins.java | 2 +- src/main/resources/config.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/updates/LDJenkins.java b/src/main/java/me/libraryaddict/disguise/utilities/updates/LDJenkins.java index 0e77f287..e98a8d32 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/updates/LDJenkins.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/updates/LDJenkins.java @@ -108,7 +108,7 @@ public class LDJenkins { changelog.add("#" + map.get("id") + ": " + ChatColor.YELLOW + msg); - release = release || msg.toLowerCase().matches("release.? .*"); + release = release || msg.toLowerCase().matches("(re)?.?release.? .*"); } } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index fcc21200..812aef1d 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -121,6 +121,7 @@ UndisguiseRadiusMax: 50 ViewSelfDisguises: true # Some disguises are rather big and tall and block your vision # By default those disguises are disabled, such as zombies, players, etc. +# The baby versions however, should be short enough that it's a non-issue HideTallSelfDisguises: true # Shall I disguise the sounds?