Fixed package-private constructor in TalismanStrength from when it used to be an enum

This commit is contained in:
Auxilor
2021-02-19 19:12:21 +00:00
parent e8f19400ce
commit 5df2eb5339

View File

@@ -54,7 +54,7 @@ public class TalismanStrength {
* @param name The name.
* @param colorSupplier The color supplier.
*/
TalismanStrength(@NotNull final String name,
private TalismanStrength(@NotNull final String name,
@NotNull final Supplier<String> colorSupplier) {
this.colorSupplier = colorSupplier;
this.name = name;