We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8bc2d7d + bc3ba71 commit 7e23badCopy full SHA for 7e23bad
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