File tree Expand file tree Collapse file tree
core/src/test/java/net/transferproxy/util/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232
3333public final class TestGenerationUtil {
3434
35+ private static final MiniMessage MINI_MESSAGE = MiniMessage .builder ().emitVirtuals (false ).build ();
36+
3537 private TestGenerationUtil () throws IllegalAccessException {
3638 throw new IllegalAccessException ("You cannot instantiate a utility class" );
3739 }
@@ -54,8 +56,7 @@ public static BinaryTag generateComplexCompoundTag() {
5456 }
5557
5658 public static Component generateComplexComponent () {
57- return MiniMessage .miniMessage ()
58- .deserialize ("<color:#FF5555>This is a <color:#55FF55>test! <rainbow:!2>||||||||||||||||||||||||</rainbow>" );
59+ return MINI_MESSAGE .deserialize ("<color:#FF5555>This is a <color:#55FF55>test! <rainbow:!2>||||||||||||||||||||||||</rainbow>" );
5960 }
6061
6162}
You can’t perform that action at this time.
0 commit comments