@@ -14,7 +14,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
// Separate pattern with no group 3, new lines are part of previous string
|
// Separate pattern with no group 3, new lines are part of previous string
|
||||||
private static final Pattern INCREMENTAL_PATTERN_KEEP_NEWLINES = Pattern.compile("(" + String.valueOf(org.bukkit.ChatColor.COLOR_CHAR) + "[0-9a-fk-orx])|((?:(?:https?):\\/\\/)?(?:[-\\w_\\.]{2,}\\.[a-z]{2,4}.*?(?=[\\.\\?!,;:]?(?:[" + String.valueOf(org.bukkit.ChatColor.COLOR_CHAR) + " ]|$))))", Pattern.CASE_INSENSITIVE);
|
private static final Pattern INCREMENTAL_PATTERN_KEEP_NEWLINES = Pattern.compile("(" + String.valueOf(org.bukkit.ChatColor.COLOR_CHAR) + "[0-9a-fk-orx])|((?:(?:https?):\\/\\/)?(?:[-\\w_\\.]{2,}\\.[a-z]{2,4}.*?(?=[\\.\\?!,;:]?(?:[" + String.valueOf(org.bukkit.ChatColor.COLOR_CHAR) + " ]|$))))", Pattern.CASE_INSENSITIVE);
|
||||||
// ChatColor.b does not explicitly reset, its more of empty
|
// ChatColor.b does not explicitly reset, its more of empty
|
||||||
+ private static final ChatModifier EMPTY = ChatModifier.b; // Paper - OBFHELPER
|
+ private static final ChatModifier EMPTY = ChatModifier.b.setItalic(false); // Paper - OBFHELPER
|
||||||
private static final ChatModifier RESET = ChatModifier.b.setBold(false).setItalic(false).setUnderline(false).setStrikethrough(false).setRandom(false);
|
private static final ChatModifier RESET = ChatModifier.b.setBold(false).setItalic(false).setUnderline(false).setStrikethrough(false).setRandom(false);
|
||||||
|
|
||||||
private final List<IChatBaseComponent> list = new ArrayList<IChatBaseComponent>();
|
private final List<IChatBaseComponent> list = new ArrayList<IChatBaseComponent>();
|
||||||
|
|||||||
Reference in New Issue
Block a user