Fixed NoClassDefFoundError caused by latest Adventure-platform snapshot. (#4446)

* Bumped adventure versions

* Added Unit Test to ensure Adventure being set up correctly
This commit is contained in:
TheBusyBiscuit
2021-03-09 17:15:11 +01:00
committed by GitHub
parent 935ab22477
commit 4402484d47
3 changed files with 42 additions and 6 deletions

View File

@ -16,9 +16,12 @@ import org.jetbrains.annotations.Nullable;
import java.util.List;
public class TextUtils {
private static @Nullable LegacyComponentSerializer customLegacySerializer;
private TextUtils() {
// We don't want any instances of this class.
}
/**
* Makes a single component from an array of components, can optionally add prefixes and suffixes to come before and after each component
* @param componentsArray target array