Add makeHeader method to build VanillaCrafts-like chat headers

This commit is contained in:
whitebelyash 2026-02-08 22:04:41 +04:00
parent 981f5ecefc
commit 29d698b38f

View file

@ -135,4 +135,9 @@ public class StringUtils {
} }
return list.toArray(new Integer[list.size()]); return list.toArray(new Integer[list.size()]);
} }
// VanillaCrafts
public static String makeHeader(String header) {
return "<gray>=============== </gray><red><bold>" + header + "</bold></red><gray> ===============</gray>";
}
} }