class DebugSectionUtils {

    static String formatLocation(Location location) {
        if (location == null) {
            return "null";
        }

        String worldName = location.getWorld() == null ? "null" : location.getWorld().getName();
        return formatLocation(location.getX(), location.getY(), location.getZ(), worldName);
    }

    private  DebugSectionUtils();

}