We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc2d7d commit bc3ba71Copy full SHA for bc3ba71
1 file changed
core/src/main/java/com/nisovin/magicspells/util/Util.java
@@ -692,6 +692,7 @@ public static Component getPlainComponentFromString(String input) {
692
}
693
694
public static Component getMiniMessage(String input) {
695
+ if (input == null) return null;
696
if (input.isEmpty()) return Component.empty();
697
698
// Convert legacy color patterns to MiniMessage format, then deserialize it.
0 commit comments