Skip to content

Changes

Started 11 yr ago
Took 17 sec
Add reset() and retain() methods to ComponentBuilder.

This method is simple: it resets the current part to default settings, keeping only the current text. It therefore acts like the old ChatColor.RESET
code. The retain method allows for more control over what is reset.

Add a test to verify proper functioning of reset()/retain().
(commit: 88e71ea)
Thinkofdeath (Thinkofdeath) at